home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
prolog
/
ai.prl
/
opnprlg1.hqx
/
Open Prolog
/
Open Prolog.rsrc
/
CODE_17_Routines.txt
< prev
next >
Wrap
Text File
|
1993-04-15
|
213KB
|
3,815 lines
# near model CODE resource
# entry label at 0x0000
export_362:
entry:
00000000 4E56 FFFA link A6, -0x0006
00000004 486D EEF0 pea.l [A5 - 0x1110]
00000008 486E FFFE pea.l [A6 - 0x2]
0000000C 486E FFFA pea.l [A6 - 0x6]
00000010 A9F5 trap GetAppParms
00000012 4E5E unlink A6
00000014 4E75 rts
00000016 8A47 or.w D5, D7
00000018 4554 chk.w D2, [A4]
0000001A 4150 chk.w D0, [A0]
0000001C 504E addq.w A6, 8
0000001E 414D chk.w D0, A5
00000020 4500 .invalid 2, D0 // invalid opcode 4 with b == 4
00000022 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_363: // at 00000024 (misaligned)
00000026 0000 487A ori.b D0, 0x7A /* 'z' */
0000002A 0036 41ED EEF0 ori.b [A6 + A6 * 8 - 0x10], 0xED
00000030 1F10 move.b -[A7], [A0]
00000032 3F3C 00FF move.w -[A7], 0xFF
00000036 4EAD 0F22 jsr [A5 + 0xF22]
0000003A 2F08 move.l -[A7], A0
0000003C 1F3C 0001 move.b -[A7], 0x1
00000040 4EAD 0F02 jsr [A5 + 0xF02]
00000044 4E5E unlink A6
00000046 4E75 rts
00000048 9449 sub.w D2, A1
0000004A 4E49 trap 9
0000004C 5449 addq.w A1, 2
0000004E 414C chk.w D0, A4
00000050 4953 chk.w D4, [A3]
00000052 4545 chk.w D2, D5
00000054 5252 addq.w [A2], 1
00000056 4F52 chk.w D7, [A2]
00000058 5354 subq.w [A4], 1
0000005A 5546 subq.w D6, 2
0000005C 4600 not.b D0
0000005E 0002 0000 ori.b D2, 0x0
export_364:
fn00000062:
00000062 4E56 FFFE link A6, -0x0002
00000066 0C6D 0604 FDBE cmpi.w [A5 - 0x242], 0x604
0000006C 6D00 00BC blt +0xBE /* 0000012A */
00000070 102D EFF0 move.b D0, [A5 - 0x1010]
00000074 6600 00B4 bne +0xB6 /* 0000012A */
00000078 1B7C 0001 EFF0 move.b [A5 - 0x1010], 0x1
0000007E 3B7C 0008 EE82 move.w [A5 - 0x117E], 0x8
00000084 3B7C 0001 EE8C move.w [A5 - 0x1174], 0x1
0000008A 42A7 clr.l -[A7]
0000008C 2F3C 5349 434E move.l -[A7], 0x5349434E /* 'SICN' */
00000092 3F3C 0080 move.w -[A7], 0x80
00000096 A9A0 trap GetResource
00000098 2B5F EE8E move.l [A5 - 0x1172], [A7]+
0000009C 206E 0008 movea.l A0, [A6 + 0x8]
000000A0 2F08 move.l -[A7], A0
000000A2 487A 009A pea.l [PC + 0x9A /* 0000013E, pstring "beep" */]
000000A6 4EAD 0F42 jsr [A5 + 0xF42]
000000AA 101F move.b D0, [A7]+
000000AC 6708 beq +0xA /* 000000B6 */
000000AE 70FF moveq.l D0, 0xFFFFFFFF
000000B0 2B40 EE92 move.l [A5 - 0x116E], D0
000000B4 601E bra +0x20 /* 000000D4 */
label000000B6:
000000B6 42A7 clr.l -[A7]
000000B8 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
000000BE 206E 0008 movea.l A0, [A6 + 0x8]
000000C2 1F10 move.b -[A7], [A0]
000000C4 3F3C 00FF move.w -[A7], 0xFF
000000C8 4EAD 0F22 jsr [A5 + 0xF22]
000000CC 2F08 move.l -[A7], A0
000000CE A9A1 trap GetNamedResource
000000D0 2B5F EE92 move.l [A5 - 0x116E], [A7]+
label000000D4:
000000D4 206E 000C movea.l A0, [A6 + 0xC]
000000D8 4A10 tst.b [A0]
000000DA 6608 bne +0xA /* 000000E4 */
000000DC 7000 moveq.l D0, 0x00
000000DE 2B40 EE96 move.l [A5 - 0x116A], D0
000000E2 602A bra +0x2C /* 0000010E */
label000000E4:
000000E4 42A7 clr.l -[A7]
000000E6 2F3C 0000 0100 move.l -[A7], 0x100
000000EC 4EAD 03BA jsr [A5 + 0x3BA]
000000F0 2B5F EE96 move.l [A5 - 0x116A], [A7]+
000000F4 206D EE96 movea.l A0, [A5 - 0x116A]
000000F8 226E 000C movea.l A1, [A6 + 0xC]
000000FC 1F11 move.b -[A7], [A1]
000000FE 3F3C 00FF move.w -[A7], 0xFF
00000102 4EAD 0F22 jsr [A5 + 0xF22]
00000106 703F moveq.l D0, 0x3F
label00000108:
00000108 20D9 move.l [A0]+, [A1]+
0000010A 51C8 FFFC dbf D0, -0x6 /* 00000108 */
label0000010E:
0000010E 7000 moveq.l D0, 0x00
00000110 2B40 EE9A move.l [A5 - 0x1166], D0
00000114 7000 moveq.l D0, 0x00
00000116 2B40 EE9E move.l [A5 - 0x1162], D0
0000011A 4267 clr.w -[A7]
0000011C 486D EE7E pea.l [A5 - 0x1182]
00000120 205F movea.l A0, [A7]+
00000122 A05E trap NMInstall
00000124 3E80 move.w [A7], D0
00000126 3D5F FFFE move.w [A6 - 0x2], [A7]+
label0000012A:
0000012A 4E5E unlink A6
0000012C 205F movea.l A0, [A7]+
0000012E 504F addq.w A7, 8
00000130 4ED0 jmp [A0]
00000132 8844 or.w D4, D4
00000134 4F4E chk.w D7, A6
00000136 4F54 chk.w D7, [A4]
00000138 4946 chk.w D4, D6
0000013A 5900 subq.b D0, 4
0000013C 0006 0462 ori.b D6, 0x62 /* 'b' */
00000140 6565 bcs +0x67 /* 000001A7 */
00000142 7000 moveq.l D0, 0x00
export_365:
fn00000144:
00000144 4E56 FFFE link A6, -0x0002
00000148 0C6D 0604 FDBE cmpi.w [A5 - 0x242], 0x604
0000014E 6D2E blt +0x30 /* 0000017E */
00000150 102D EFF0 move.b D0, [A5 - 0x1010]
00000154 6728 beq +0x2A /* 0000017E */
00000156 422D EFF0 clr.b [A5 - 0x1010]
0000015A 4AAD EE96 tst.l [A5 - 0x116A]
0000015E 670E beq +0x10 /* 0000016E */
00000160 2F2D EE96 move.l -[A7], [A5 - 0x116A]
00000164 205F movea.l A0, [A7]+
00000166 A01F trap DisposPtr/DisposePtr
00000168 7000 moveq.l D0, 0x00
0000016A 2B40 EE96 move.l [A5 - 0x116A], D0
label0000016E:
0000016E 4267 clr.w -[A7]
00000170 486D EE7E pea.l [A5 - 0x1182]
00000174 205F movea.l A0, [A7]+
00000176 A05F trap NMRemove
00000178 3E80 move.w [A7], D0
0000017A 3D5F FFFE move.w [A6 - 0x2], [A7]+
label0000017E:
0000017E 4E5E unlink A6
00000180 4E75 rts
00000182 8A53 or.w D5, [A3]
00000184 544F addq.w A7, 2
00000186 504E addq.w A6, 8
00000188 4F54 chk.w D7, [A4]
0000018A 4946 chk.w D4, D6
0000018C 5900 subq.b D0, 4
0000018E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_366: // at 00000190 (misaligned)
00000192 FE00 .extension 0xE00 // unimplemented
00000194 206E 000C movea.l A0, [A6 + 0xC]
00000198 43EE FF00 lea.l A1, [A6 - 0x100]
0000019C 703F moveq.l D0, 0x3F
label0000019E:
0000019E 22D8 move.l [A1]+, [A0]+
000001A0 51C8 FFFC dbf D0, -0x6 /* 0000019E */
000001A4 206E 0008 movea.l A0, [A6 + 0x8]
label000001A7: // (misaligned)
000001A8 43EE FE00 lea.l A1, [A6 - 0x200]
000001AC 703F moveq.l D0, 0x3F
label000001AE:
000001AE 22D8 move.l [A1]+, [A0]+
000001B0 51C8 FFFC dbf D0, -0x6 /* 000001AE */
000001B4 4267 clr.w -[A7]
000001B6 486D E862 pea.l [A5 - 0x179E]
000001BA 7003 moveq.l D0, 0x03
000001BC 2F00 move.l -[A7], D0
000001BE A85D trap BitTst
000001C0 101F move.b D0, [A7]+
000001C2 672A beq +0x2C /* 000001EE */
000001C4 4267 clr.w -[A7]
000001C6 4EAD 04BA jsr [A5 + 0x4BA]
000001CA 101F move.b D0, [A7]+
000001CC 6620 bne +0x22 /* 000001EE */
000001CE 486E FF00 pea.l [A6 - 0x100]
000001D2 486E FE00 pea.l [A6 - 0x200]
000001D6 4EBA FE8A jsr [PC - 0x176 /* 00000062 */]
label000001DA:
000001DA 4267 clr.w -[A7]
000001DC 4EAD 04BA jsr [A5 + 0x4BA]
000001E0 101F move.b D0, [A7]+
000001E2 6606 bne +0x8 /* 000001EA */
000001E4 4EAD 04C2 jsr [A5 + 0x4C2]
000001E8 60F0 bra -0xE /* 000001DA */
label000001EA:
000001EA 4EBA FF58 jsr [PC - 0xA8 /* 00000144 */]
label000001EE:
000001EE 4E5E unlink A6
000001F0 205F movea.l A0, [A7]+
000001F2 504F addq.w A7, 8
000001F4 4ED0 jmp [A0]
000001F6 944E sub.w D2, A6
000001F8 4F54 chk.w D7, [A4]
000001FA 4946 chk.w D4, D6
000001FC 5946 subq.w D6, 4
000001FE 524F addq.w A7, 1
00000200 4D42 chk.w D6, D2
00000202 4143 chk.w D0, D3
00000204 4B47 chk.w D5, D7
00000206 524F addq.w A7, 1
00000208 554E subq.w A6, 2
0000020A 4400 neg.b D0
0000020C 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_367: // at 0000020E (misaligned)
00000210 FFFC .extension 0xFFC // unimplemented
00000212 4267 clr.w -[A7]
00000214 2F3C 6F73 2020 move.l -[A7], 0x6F732020 /* 'os ' */
0000021A 486E FFFC pea.l [A6 - 0x4]
0000021E 4EAD 043A jsr [A5 + 0x43A]
00000222 4A5F tst.w [A7]+
00000224 6612 bne +0x14 /* 00000238 */
00000226 4267 clr.w -[A7]
00000228 486E FFFC pea.l [A6 - 0x4]
0000022C 701A moveq.l D0, 0x1A
0000022E 2F00 move.l -[A7], D0
00000230 A85D trap BitTst
00000232 1B5F EFF1 move.b [A5 - 0x100F], [A7]+
00000236 6004 bra +0x6 /* 0000023C */
label00000238:
00000238 422D EFF1 clr.b [A5 - 0x100F]
label0000023C:
0000023C 4E5E unlink A6
0000023E 4E75 rts
00000240 8C43 or.w D6, D3
00000242 4845 swap.w D5
00000244 434B chk.w D1, A3
00000246 5445 addq.w D5, 2
00000248 4D50 chk.w D6, [A0]
0000024A 4D45 chk.w D6, D5
0000024C 4D00 .invalid 6, D0 // invalid opcode 4 with b == 4
0000024E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_368: // at 00000250 (misaligned)
00000252 0000 2F2E ori.b D0, 0x2E /* '.' */
00000256 000C 2F2E ori.b A4, 0x2E /* '.' */
0000025A 0008 4EAD ori.b A0, 0xAD
0000025E 042A 4E5E 205F subi.b [A2 + 0x205F], 0x5E /* '^' */
00000264 504F addq.w A7, 8
00000266 4ED0 jmp [A0]
00000268 8E4D or.w D7, A5
0000026A 5947 subq.w D7, 4
0000026C 4554 chk.w D2, [A4]
0000026E 494E chk.w D4, A6
00000270 4453 neg.w [A3]
00000272 5452 addq.w [A2], 2
00000274 494E chk.w D4, A6
00000276 4700 .invalid 3, D0 // invalid opcode 4 with b == 4
00000278 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000027A-0000027E
export_369:
fn0000027A:
0000027A 4E56 FF00 link A6, -0x0100
// end alternate branch 0000027A-0000027E
export_369: // at 0000027A (misaligned)
fn0000027A: // (misaligned)
0000027C FF00 .extension 0xF00 // unimplemented
0000027E 486E FF00 pea.l [A6 - 0x100]
00000282 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000286 4EAD 042A jsr [A5 + 0x42A]
0000028A 206E 000C movea.l A0, [A6 + 0xC]
0000028E 43EE FF00 lea.l A1, [A6 - 0x100]
00000292 1F11 move.b -[A7], [A1]
00000294 3F3C 00FF move.w -[A7], 0xFF
00000298 4EAD 0F22 jsr [A5 + 0xF22]
0000029C 703F moveq.l D0, 0x3F
label0000029E:
0000029E 20D9 move.l [A0]+, [A1]+
000002A0 51C8 FFFC dbf D0, -0x6 /* 0000029E */
000002A4 4E5E unlink A6
000002A6 2E9F move.l [A7], [A7]+
000002A8 4E75 rts
000002AA 8D46 4745 pack D6, D6, 0x4745
000002AE 5449 addq.w A1, 2
000002B0 4E44 trap 4
000002B2 5354 subq.w [A4], 1
000002B4 5249 addq.w A1, 1
000002B6 4E47 trap 7
000002B8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000002BA-000002BE
export_370:
fn000002BA:
000002BA 4E56 FEFA link A6, -0x0106
// end alternate branch 000002BA-000002BE
export_370: // at 000002BA (misaligned)
fn000002BA: // (misaligned)
000002BC FEFA .extension 0xEFA // unimplemented
000002BE 48E7 0300 movem.l -[A7], D6,D7
000002C2 486E FF00 pea.l [A6 - 0x100]
000002C6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000002CA 4EAD 042A jsr [A5 + 0x42A]
000002CE 7E01 moveq.l D7, 0x01
000002D0 7C00 moveq.l D6, 0x00
000002D2 4240 clr.w D0
000002D4 102E FF00 move.b D0, [A6 - 0x100]
000002D8 4A40 tst.w D0
000002DA 6764 beq +0x66 /* 00000340 */
label000002DC:
000002DC 4240 clr.w D0
000002DE 102E FF00 move.b D0, [A6 - 0x100]
000002E2 B047 cmp.w D0, D7
000002E4 5CC0 sge D0
000002E6 3207 move.w D1, D7
000002E8 43BC 00FF 4242 .invalid 1, 0xFF4242 // invalid opcode 4 with b == 6
000002EE 41EE FF00 lea.l A0, [A6 - 0x100]
000002F2 1430 1000 move.b D2, [A0 + D1.w]
000002F6 4A42 tst.w D2
000002F8 6B18 bmi +0x1A /* 00000312 */
000002FA B47C 003F cmp.w D2, 0x3F /* '?' */
000002FE 6E12 bgt +0x14 /* 00000312 */
00000300 43FA 0066 lea.l A1, [PC + 0x66 /* 00000368 */]
00000304 3202 move.w D1, D2
00000306 E649 lsr D1.w, 3
00000308 4441 neg.w D1
0000030A 0531 10FF btst [A1 + D1.w - 0x1], D2
0000030E 0A3C 0004 xori.b ccr, 4
label00000312:
00000312 57C1 seq D1
00000314 C001 and.b D0, D1
00000316 6728 beq +0x2A /* 00000340 */
00000318 2F06 move.l -[A7], D6
0000031A 700A moveq.l D0, 0x0A
0000031C 2F00 move.l -[A7], D0
0000031E 4EAD 0F12 jsr [A5 + 0xF12]
00000322 3007 move.w D0, D7
00000324 41BC 00FF 4241 .invalid 0, 0xFF4241 // invalid opcode 4 with b == 6
0000032A 41EE FF00 lea.l A0, [A6 - 0x100]
0000032E 1230 0000 move.b D1, [A0 + D0.w]
00000332 48C1 ext.l D1
00000334 D29F add.l D1, [A7]+
00000336 2C01 move.l D6, D1
00000338 7030 moveq.l D0, 0x30
0000033A 9C80 sub.l D6, D0
0000033C 5247 addq.w D7, 1
0000033E 609C bra -0x62 /* 000002DC */
label00000340:
00000340 2D46 000C move.l [A6 + 0xC], D6
00000344 4CDF 00C0 movem.l D7,D6, [A7]+
00000348 4E5E unlink A6
0000034A 2E9F move.l [A7], [A7]+
0000034C 4E75 rts
0000034E 8F47 4554 pack D7, D7, 0x4554
00000352 5354 subq.w [A4], 1
00000354 5249 addq.w A1, 1
00000356 4E47 trap 7
00000358 4E55 4D42 link A5, -0xFFFFB2BE
0000035C 4552 chk.w D2, [A2]
0000035E 0008 03FF ori.b A0, 0xFF
00000362 0000 0000 ori.b D0, 0x0
00000366 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000368-0000036C
fn00000368:
00000368 4E56 FFF8 link A6, -0x0008
// end alternate branch 00000368-0000036C
fn00000368: // (misaligned)
0000036A FFF8 .extension 0xFF8 // unimplemented
0000036C 206E 0008 movea.l A0, [A6 + 0x8]
00000370 43EE FFF8 lea.l A1, [A6 - 0x8]
00000374 22D8 move.l [A1]+, [A0]+
00000376 22D8 move.l [A1]+, [A0]+
00000378 2D6E FFFC 000C move.l [A6 + 0xC], [A6 - 0x4]
0000037E 4E5E unlink A6
00000380 2E9F move.l [A7], [A7]+
00000382 4E75 rts
00000384 8B41 544F pack D5, D1, 0x544F
00000388 4D49 chk.w D6, A1
0000038A 4356 chk.w D1, [A6]
0000038C 414C chk.w D0, A4
0000038E 5545 subq.w D5, 2
00000390 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_371: // at 00000392 (misaligned)
00000394 FEEE .extension 0xEEE // unimplemented
00000396 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000039A 422D FDFA clr.b [A5 - 0x206]
0000039E 42A7 clr.l -[A7]
000003A0 2F3C 7665 7273 move.l -[A7], 0x76657273 /* 'vers' */
000003A6 3F3C 0001 move.w -[A7], 0x1
000003AA A9A0 trap GetResource
000003AC 265F movea.l A3, [A7]+
000003AE 200B move.l D0, A3
000003B0 6766 beq +0x68 /* 00000418 */
000003B2 2853 movea.l A4, [A3]
000003B4 5C8C addq.l A4, 6
000003B6 1014 move.b D0, [A4]
000003B8 4880 ext.w D0
000003BA 675C beq +0x5E /* 00000418 */
000003BC 1014 move.b D0, [A4]
000003BE 4880 ext.w D0
000003C0 3D40 FEF0 move.w [A6 - 0x110], D0
000003C4 7E01 moveq.l D7, 0x01
000003C6 604A bra +0x4C /* 00000412 */
label000003C8:
000003C8 3007 move.w D0, D7
000003CA 48C0 ext.l D0
000003CC 2C00 move.l D6, D0
000003CE DC8C add.l D6, A4
000003D0 486D FDFA pea.l [A5 - 0x206]
000003D4 2046 movea.l A0, D6
000003D6 1010 move.b D0, [A0]
000003D8 4880 ext.w D0
000003DA 323C 0100 move.w D1, 0x100
000003DE 1200 move.b D1, D0
000003E0 3D41 FEEE move.w [A6 - 0x112], D1
000003E4 486E FEEE pea.l [A6 - 0x112]
000003E8 486E FEF2 pea.l [A6 - 0x10E]
000003EC 3F3C 0002 move.w -[A7], 0x2
000003F0 4EAD 0F32 jsr [A5 + 0xF32]
000003F4 41EE FEF2 lea.l A0, [A6 - 0x10E]
000003F8 1F10 move.b -[A7], [A0]
000003FA 3F3C 00FF move.w -[A7], 0xFF
000003FE 4EAD 0F22 jsr [A5 + 0xF22]
00000402 43ED FDFA lea.l A1, [A5 - 0x206]
00000406 703F moveq.l D0, 0x3F
label00000408:
00000408 22D8 move.l [A1]+, [A0]+
0000040A 51C8 FFFC dbf D0, -0x6 /* 00000408 */
0000040E 5247 addq.w D7, 1
00000410 6906 bvs +0x8 /* 00000418 */
label00000412:
00000412 BE6E FEF0 cmp.w D7, [A6 - 0x110]
00000416 6FB0 ble -0x4E /* 000003C8 */
label00000418:
00000418 4CDF 18C0 movem.l A4,A3,D7,D6, [A7]+
0000041C 4E5E unlink A6
0000041E 4E75 rts
00000420 9047 sub.w D0, D7
00000422 4554 chk.w D2, [A4]
00000424 5645 addq.w D5, 3
00000426 5253 addq.w [A3], 1
00000428 494F chk.w D4, A7
0000042A 4E53 5452 link A3, -0xFFFFABAE
0000042E 494E chk.w D4, A6
00000430 4700 .invalid 3, D0 // invalid opcode 4 with b == 4
00000432 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_372: // at 00000434 (misaligned)
00000436 0000 3F2E ori.b D0, 0x2E /* '.' */
0000043A 000C 2F2E ori.b A4, 0x2E /* '.' */
0000043E 0008 4EAD ori.b A0, 0xAD
00000442 0F0A btst A2, D7
00000444 4E5E unlink A6
00000446 205F movea.l A0, [A7]+
00000448 5C4F addq.w A7, 6
0000044A 4ED0 jmp [A0]
0000044C 8E47 or.w D7, D7
0000044E 4554 chk.w D2, [A4]
00000450 4552 chk.w D2, [A2]
00000452 524F addq.w A7, 1
00000454 5253 addq.w [A3], 1
00000456 5452 addq.w [A2], 2
00000458 494E chk.w D4, A6
0000045A 4700 .invalid 3, D0 // invalid opcode 4 with b == 4
0000045C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000045E-0000046C
export_373:
fn0000045E:
0000045E 4E56 0000 link A6, 0
00000462 202E 000C move.l D0, [A6 + 0xC]
00000466 B0AE 0008 cmp.l D0, [A6 + 0x8]
0000046A 6F08 ble +0xA /* 00000474 */
// end alternate branch 0000045E-0000046C
export_373: // at 0000045E (misaligned)
fn0000045E: // (misaligned)
00000460 0000 202E ori.b D0, 0x2E /* '.' */
00000464 000C B0AE ori.b A4, 0xAE
00000468 0008 6F08 ori.b A0, 0x8
0000046C 2D6E 0008 0010 move.l [A6 + 0x10], [A6 + 0x8]
00000472 6006 bra +0x8 /* 0000047A */
label00000474:
00000474 2D6E 000C 0010 move.l [A6 + 0x10], [A6 + 0xC]
label0000047A:
0000047A 4E5E unlink A6
0000047C 205F movea.l A0, [A7]+
0000047E 504F addq.w A7, 8
00000480 4ED0 jmp [A0]
00000482 8A49 or.w D5, A1
00000484 4E54 4547 link A4, -0xFFFFBAB9
00000488 4552 chk.w D2, [A2]
0000048A 4D49 chk.w D6, A1
0000048C 4E00 .invalid // invalid opcode 4
0000048E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000490-0000049E
fn00000490:
00000490 4E56 0000 link A6, 0
00000494 202E 000C move.l D0, [A6 + 0xC]
00000498 B0AE 0008 cmp.l D0, [A6 + 0x8]
0000049C 6C08 bge +0xA /* 000004A6 */
// end alternate branch 00000490-0000049E
fn00000490: // (misaligned)
00000492 0000 202E ori.b D0, 0x2E /* '.' */
00000496 000C B0AE ori.b A4, 0xAE
0000049A 0008 6C08 ori.b A0, 0x8
0000049E 2D6E 0008 0010 move.l [A6 + 0x10], [A6 + 0x8]
000004A4 6006 bra +0x8 /* 000004AC */
label000004A6:
000004A6 2D6E 000C 0010 move.l [A6 + 0x10], [A6 + 0xC]
label000004AC:
000004AC 4E5E unlink A6
000004AE 205F movea.l A0, [A7]+
000004B0 504F addq.w A7, 8
000004B2 4ED0 jmp [A0]
000004B4 8A49 or.w D5, A1
000004B6 4E54 4547 link A4, -0xFFFFBAB9
000004BA 4552 chk.w D2, [A2]
000004BC 4D41 chk.w D6, D1
000004BE 5800 addq.b D0, 4
000004C0 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_374: // at 000004C2 (misaligned)
000004C4 FEFA .extension 0xEFA // unimplemented
000004C6 48E7 0108 movem.l -[A7], D7,A4
000004CA 206E 000C movea.l A0, [A6 + 0xC]
000004CE 43EE FF00 lea.l A1, [A6 - 0x100]
000004D2 703F moveq.l D0, 0x3F
label000004D4:
000004D4 22D8 move.l [A1]+, [A0]+
000004D6 51C8 FFFC dbf D0, -0x6 /* 000004D4 */
000004DA 42A7 clr.l -[A7]
000004DC 7050 moveq.l D0, 0x50
000004DE 2F00 move.l -[A7], D0
000004E0 4EAD 03C2 jsr [A5 + 0x3C2]
000004E4 285F movea.l A4, [A7]+
000004E6 41EE FF00 lea.l A0, [A6 - 0x100]
000004EA 2948 0012 move.l [A4 + 0x12], A0
000004EE 4267 clr.w -[A7]
000004F0 2F0C move.l -[A7], A4
000004F2 4267 clr.w -[A7]
000004F4 4EAD 03EA jsr [A5 + 0x3EA]
000004F8 3E1F move.w D7, [A7]+
000004FA 6608 bne +0xA /* 00000504 */
000004FC 206E 0008 movea.l A0, [A6 + 0x8]
00000500 20AC 0036 move.l [A0], [A4 + 0x36]
label00000504:
00000504 2F0C move.l -[A7], A4
00000506 205F movea.l A0, [A7]+
00000508 A01F trap DisposPtr/DisposePtr
0000050A 3D47 0010 move.w [A6 + 0x10], D7
0000050E 4CDF 1080 movem.l A4,D7, [A7]+
00000512 4E5E unlink A6
00000514 205F movea.l A0, [A7]+
00000516 504F addq.w A7, 8
00000518 4ED0 jmp [A0]
0000051A 8B47 4554 pack D5, D7, 0x4554
0000051E 4649 not.w A1
00000520 4C45 5349 movem.l A6,A4,A1,A0,D6,D3,D0, D5
00000524 5A45 addq.w D5, 5
00000526 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_375: // at 00000528 (misaligned)
0000052A FFDA .extension 0xFDA // unimplemented
0000052C 2F0C move.l -[A7], A4
0000052E 206E 000A movea.l A0, [A6 + 0xA]
00000532 43EE FFF8 lea.l A1, [A6 - 0x8]
00000536 22D8 move.l [A1]+, [A0]+
00000538 22D8 move.l [A1]+, [A0]+
0000053A 486E FFDA pea.l [A6 - 0x26]
0000053E A874 trap GetPort
00000540 42A7 clr.l -[A7]
00000542 2F3C 5349 434E move.l -[A7], 0x5349434E /* 'SICN' */
00000548 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000054C A9A0 trap GetResource
0000054E 285F movea.l A4, [A7]+
00000550 200C move.l D0, A4
00000552 6752 beq +0x54 /* 000005A6 */
00000554 2F0C move.l -[A7], A4
00000556 205F movea.l A0, [A7]+
00000558 A029 trap HLock
0000055A 486E FFDE pea.l [A6 - 0x22]
0000055E 42A7 clr.l -[A7]
00000560 2F3C 0010 0010 move.l -[A7], 0x100010
00000566 A8A7 trap SetRect
00000568 2D54 FFE6 move.l [A6 - 0x1A], [A4]
0000056C 3D7C 0002 FFEA move.w [A6 - 0x16], 0x2
00000572 41EE FFEC lea.l A0, [A6 - 0x14]
00000576 43EE FFDE lea.l A1, [A6 - 0x22]
0000057A 20D9 move.l [A0]+, [A1]+
0000057C 20D9 move.l [A0]+, [A1]+
0000057E 486E FFF8 pea.l [A6 - 0x8]
00000582 A8A3 trap EraseRect
00000584 486E FFE6 pea.l [A6 - 0x1A]
00000588 206E FFDA movea.l A0, [A6 - 0x26]
0000058C 4868 0002 pea.l [A0 + 0x2]
00000590 486E FFDE pea.l [A6 - 0x22]
00000594 486E FFF8 pea.l [A6 - 0x8]
00000598 3F3C 0001 move.w -[A7], 0x1
0000059C 42A7 clr.l -[A7]
0000059E A8EC trap CopyBits
000005A0 2F0C move.l -[A7], A4
000005A2 205F movea.l A0, [A7]+
000005A4 A02A trap HUnlock
label000005A6:
000005A6 285F movea.l A4, [A7]+
000005A8 4E5E unlink A6
000005AA 205F movea.l A0, [A7]+
000005AC 5C4F addq.w A7, 6
000005AE 4ED0 jmp [A0]
000005B0 8850 or.w D4, [A0]
000005B2 4C4F 5453 movem.l A6,A4,A2,D6,D4,D1,D0, A7
000005B6 4943 chk.w D4, D3
000005B8 4E00 .invalid // invalid opcode 4
000005BA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000005BC-000005C0
export_376:
fn000005BC:
000005BC 4E56 FFE2 link A6, -0x001E
// end alternate branch 000005BC-000005C0
export_376: // at 000005BC (misaligned)
fn000005BC: // (misaligned)
000005BE FFE2 .extension 0xFE2 // unimplemented
label000005C0:
000005C0 486E FFE8 pea.l [A6 - 0x18]
000005C4 A874 trap GetPort
000005C6 2F3C 0040 0000 move.l -[A7], 0x400000 /* '@\0\0' */
000005CC 486E FFF0 pea.l [A6 - 0x10]
000005D0 A970 trap GetNextEvent
000005D2 101F move.b D0, [A7]+
000005D4 675C beq +0x5E /* 00000632 */
000005D6 7006 moveq.l D0, 0x06
000005D8 B06E FFF0 cmp.w D0, [A6 - 0x10]
000005DC 6654 bne +0x56 /* 00000632 */
000005DE 4267 clr.w -[A7]
000005E0 486E FFF0 pea.l [A6 - 0x10]
000005E4 A97F trap IsDialogEvent
000005E6 101F move.b D0, [A7]+
000005E8 6728 beq +0x2A /* 00000612 */
000005EA 4267 clr.w -[A7]
000005EC 486E FFF0 pea.l [A6 - 0x10]
000005F0 486E FFE4 pea.l [A6 - 0x1C]
000005F4 486E FFE2 pea.l [A6 - 0x1E]
000005F8 A980 trap DialogSelect
000005FA 101F move.b D0, [A7]+
000005FC 6714 beq +0x16 /* 00000612 */
000005FE 42A7 clr.l -[A7]
00000600 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000604 42A7 clr.l -[A7]
00000606 3F3C 0003 move.w -[A7], 0x3
0000060A 4EAD 04D2 jsr [A5 + 0x4D2]
0000060E 2D5F FFEC move.l [A6 - 0x14], [A7]+
label00000612:
00000612 206E FFF2 movea.l A0, [A6 - 0xE]
00000616 7008 moveq.l D0, 0x08
00000618 B068 006C cmp.w D0, [A0 + 0x6C]
0000061C 6E14 bgt +0x16 /* 00000632 */
0000061E 42A7 clr.l -[A7]
00000620 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000624 42A7 clr.l -[A7]
00000626 3F3C 0003 move.w -[A7], 0x3
0000062A 4EAD 04D2 jsr [A5 + 0x4D2]
0000062E 2D5F FFEC move.l [A6 - 0x14], [A7]+
label00000632:
00000632 4A6E FFF0 tst.w [A6 - 0x10]
00000636 6688 bne -0x76 /* 000005C0 */
00000638 2F2E FFE8 move.l -[A7], [A6 - 0x18]
0000063C A873 trap SetPort
0000063E 4E5E unlink A6
00000640 4E75 rts
00000642 8944 4F55 pack D4, D4, 0x4F55
00000646 5044 addq.w D4, 8
00000648 4154 chk.w D0, [A4]
0000064A 4553 chk.w D2, [A3]
0000064C 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_377: // at 0000064E (misaligned)
00000650 FFE4 .extension 0xFE4 // unimplemented
00000652 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000656 266E 0010 movea.l A3, [A6 + 0x10]
0000065A 286E 000C movea.l A4, [A6 + 0xC]
0000065E 70FF moveq.l D0, 0xFFFFFFFF
00000660 B06B 00A4 cmp.w D0, [A3 + 0xA4]
00000664 6752 beq +0x54 /* 000006B8 */
00000666 486E FFE4 pea.l [A6 - 0x1C]
0000066A A874 trap GetPort
0000066C 2F0B move.l -[A7], A3
0000066E A873 trap SetPort
00000670 2F0B move.l -[A7], A3
00000672 302B 00A4 move.w D0, [A3 + 0xA4]
00000676 5240 addq.w D0, 1
00000678 3F00 move.w -[A7], D0
0000067A 486E FFF4 pea.l [A6 - 0xC]
0000067E 486E FFF0 pea.l [A6 - 0x10]
00000682 486E FFE8 pea.l [A6 - 0x18]
00000686 A98D trap GetDialogItem/GetDItem
00000688 2D6C 000A FFF6 move.l [A6 - 0xA], [A4 + 0xA]
0000068E 486E FFF6 pea.l [A6 - 0xA]
00000692 A871 trap GlobalToLocal
00000694 4267 clr.w -[A7]
00000696 2F2E FFF6 move.l -[A7], [A6 - 0xA]
0000069A 486E FFE8 pea.l [A6 - 0x18]
0000069E A8AD trap PtInRect
000006A0 101F move.b D0, [A7]+
000006A2 670A beq +0xC /* 000006AE */
000006A4 3F3C 0081 move.w -[A7], 0x81
000006A8 4EAD 0992 jsr [A5 + 0x992]
000006AC 6004 bra +0x6 /* 000006B2 */
label000006AE:
000006AE 4EAD 098A jsr [A5 + 0x98A]
label000006B2:
000006B2 2F2E FFE4 move.l -[A7], [A6 - 0x1C]
000006B6 A873 trap SetPort
label000006B8:
000006B8 422E 0014 clr.b [A6 + 0x14]
000006BC 3014 move.w D0, [A4]
000006BE 5740 subq.w D0, 3
000006C0 670A beq +0xC /* 000006CC */
000006C2 5740 subq.w D0, 3
000006C4 6700 0160 beq +0x162 /* 00000826 */
000006C8 6000 017A bra +0x17C /* 00000844 */
label000006CC:
000006CC 42A7 clr.l -[A7]
000006CE 302C 000E move.w D0, [A4 + 0xE]
000006D2 48C0 ext.l D0
000006D4 2F00 move.l -[A7], D0
000006D6 2F3C 0000 0100 move.l -[A7], 0x100
000006DC A858 trap BitAnd
000006DE 0C9F 0000 0100 cmpi.l [A7]+, 0x100
000006E4 6602 bne +0x4 /* 000006E8 */
000006E6 4254 clr.w [A4]
label000006E8:
000006E8 42A7 clr.l -[A7]
000006EA 2F2C 0002 move.l -[A7], [A4 + 0x2]
000006EE 2F3C 0000 00FF move.l -[A7], 0xFF
000006F4 A858 trap BitAnd
000006F6 201F move.l D0, [A7]+
000006F8 5740 subq.w D0, 3
000006FA 6738 beq +0x3A /* 00000734 */
000006FC 0440 000A subi.w D0, 0xA /* '\n' */
00000700 6732 beq +0x34 /* 00000734 */
00000702 0440 0021 subi.w D0, 0x21 /* '!' */
00000706 673E beq +0x40 /* 00000746 */
00000708 0440 0015 subi.w D0, 0x15
0000070C 6700 00A6 beq +0xA8 /* 000007B4 */
00000710 0440 0013 subi.w D0, 0x13
00000714 6700 00DA beq +0xDC /* 000007F0 */
00000718 5540 subq.w D0, 2
0000071A 6758 beq +0x5A /* 00000774 */
0000071C 0440 000B subi.w D0, 0xB
00000720 6700 0092 beq +0x94 /* 000007B4 */
00000724 0440 0013 subi.w D0, 0x13
00000728 6700 00C6 beq +0xC8 /* 000007F0 */
0000072C 5540 subq.w D0, 2
0000072E 6744 beq +0x46 /* 00000774 */
00000730 6000 0112 bra +0x114 /* 00000844 */
label00000734:
00000734 206E 0008 movea.l A0, [A6 + 0x8]
00000738 30BC 0001 move.w [A0], 0x1
0000073C 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00000742 6000 0100 bra +0x102 /* 00000844 */
label00000746:
00000746 42A7 clr.l -[A7]
00000748 302C 000E move.w D0, [A4 + 0xE]
0000074C 48C0 ext.l D0
0000074E 2F00 move.l -[A7], D0
00000750 2F3C 0000 0100 move.l -[A7], 0x100
00000756 A858 trap BitAnd
00000758 0C9F 0000 0100 cmpi.l [A7]+, 0x100
0000075E 6600 00E4 bne +0xE6 /* 00000844 */
00000762 206E 0008 movea.l A0, [A6 + 0x8]
00000766 30BC 0002 move.w [A0], 0x2
0000076A 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00000770 6000 00D2 bra +0xD4 /* 00000844 */
label00000774:
00000774 42A7 clr.l -[A7]
00000776 302C 000E move.w D0, [A4 + 0xE]
0000077A 48C0 ext.l D0
0000077C 2F00 move.l -[A7], D0
0000077E 2F3C 0000 0100 move.l -[A7], 0x100
00000784 A858 trap BitAnd
00000786 0C9F 0000 0100 cmpi.l [A7]+, 0x100
0000078C 57C0 seq D0
0000078E 72FF moveq.l D1, 0xFFFFFFFF
00000790 B26B 00A4 cmp.w D1, [A3 + 0xA4]
00000794 56C1 sne D1
00000796 C001 and.b D0, D1
00000798 6700 00AA beq +0xAC /* 00000844 */
0000079C 2F2B 00A0 move.l -[A7], [A3 + 0xA0]
000007A0 A9D6 trap TECut
000007A2 42A7 clr.l -[A7]
000007A4 A9FC trap ZeroScrap
000007A6 2E1F move.l D7, [A7]+
000007A8 4267 clr.w -[A7]
000007AA 4EAD 0422 jsr [A5 + 0x422]
000007AE 3C1F move.w D6, [A7]+
000007B0 6000 0092 bra +0x94 /* 00000844 */
label000007B4:
000007B4 42A7 clr.l -[A7]
000007B6 302C 000E move.w D0, [A4 + 0xE]
000007BA 48C0 ext.l D0
000007BC 2F00 move.l -[A7], D0
000007BE 2F3C 0000 0100 move.l -[A7], 0x100
000007C4 A858 trap BitAnd
000007C6 0C9F 0000 0100 cmpi.l [A7]+, 0x100
000007CC 57C0 seq D0
000007CE 72FF moveq.l D1, 0xFFFFFFFF
000007D0 B26B 00A4 cmp.w D1, [A3 + 0xA4]
000007D4 56C1 sne D1
000007D6 C001 and.b D0, D1
000007D8 676A beq +0x6C /* 00000844 */
000007DA 2F2B 00A0 move.l -[A7], [A3 + 0xA0]
000007DE A9D5 trap TECopy
000007E0 42A7 clr.l -[A7]
000007E2 A9FC trap ZeroScrap
000007E4 2E1F move.l D7, [A7]+
000007E6 4267 clr.w -[A7]
000007E8 4EAD 0422 jsr [A5 + 0x422]
000007EC 3C1F move.w D6, [A7]+
000007EE 6054 bra +0x56 /* 00000844 */
label000007F0:
000007F0 42A7 clr.l -[A7]
000007F2 302C 000E move.w D0, [A4 + 0xE]
000007F6 48C0 ext.l D0
000007F8 2F00 move.l -[A7], D0
000007FA 2F3C 0000 0100 move.l -[A7], 0x100
00000800 A858 trap BitAnd
00000802 0C9F 0000 0100 cmpi.l [A7]+, 0x100
00000808 57C0 seq D0
0000080A 72FF moveq.l D1, 0xFFFFFFFF
0000080C B26B 00A4 cmp.w D1, [A3 + 0xA4]
00000810 56C1 sne D1
00000812 C001 and.b D0, D1
00000814 672E beq +0x30 /* 00000844 */
00000816 4267 clr.w -[A7]
00000818 4EAD 041A jsr [A5 + 0x41A]
0000081C 3C1F move.w D6, [A7]+
0000081E 2F2B 00A0 move.l -[A7], [A3 + 0xA0]
00000822 A9DB trap TEPaste
00000824 601E bra +0x20 /* 00000844 */
label00000826:
00000826 206C 0002 movea.l A0, [A4 + 0x2]
0000082A 7008 moveq.l D0, 0x08
0000082C B068 006C cmp.w D0, [A0 + 0x6C]
00000830 6E12 bgt +0x14 /* 00000844 */
00000832 42A7 clr.l -[A7]
00000834 2F2C 0002 move.l -[A7], [A4 + 0x2]
00000838 42A7 clr.l -[A7]
0000083A 3F3C 0003 move.w -[A7], 0x3
0000083E 4EAD 04D2 jsr [A5 + 0x4D2]
00000842 2E1F move.l D7, [A7]+
label00000844:
00000844 4CDF 18C0 movem.l A4,A3,D7,D6, [A7]+
00000848 4E5E unlink A6
0000084A 205F movea.l A0, [A7]+
0000084C DEFC 000C add.w A7, 0xC
00000850 4ED0 jmp [A0]
00000852 934D subx.w -[A1], -[A5]
00000854 594D subq.w A5, 4
00000856 4F44 chk.w D7, D4
00000858 414C chk.w D0, A4
0000085A 4449 neg.w A1
0000085C 414C chk.w D0, A4
0000085E 4F47 chk.w D7, D7
00000860 4649 not.w A1
00000862 4C54 4552 movem.l A6,A2,A0,D6,D4,D1, [A4]
00000866 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_378: // at 00000868 (misaligned)
0000086A FDCE .extension 0xDCE // unimplemented
0000086C 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000870 266E 000C movea.l A3, [A6 + 0xC]
00000874 486E FDEA pea.l [A6 - 0x216]
00000878 A874 trap GetPort
0000087A 2F0B move.l -[A7], A3
0000087C A873 trap SetPort
0000087E 7C01 moveq.l D6, 0x01
00000880 4267 clr.w -[A7]
00000882 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000886 A86A trap HiWord
00000888 3A1F move.w D5, [A7]+
0000088A 4267 clr.w -[A7]
0000088C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000890 A86B trap LoWord
00000892 381F move.w D4, [A7]+
00000894 42A7 clr.l -[A7]
00000896 3F05 move.w -[A7], D5
00000898 A9BF trap GetRMenu
0000089A 2D57 FFFC move.l [A6 - 0x4], [A7]
0000089E 3F04 move.w -[A7], D4
000008A0 486E FDFC pea.l [A6 - 0x204]
000008A4 A946 trap GetMenuItemText/GetItem
000008A6 3005 move.w D0, D5
000008A8 0440 00AF subi.w D0, 0xAF
000008AC 6708 beq +0xA /* 000008B6 */
000008AE 5340 subq.w D0, 1
000008B0 6764 beq +0x66 /* 00000916 */
000008B2 6000 0100 bra +0x102 /* 000009B4 */
label000008B6:
000008B6 41EE FDFC lea.l A0, [A6 - 0x204]
000008BA 1F10 move.b -[A7], [A0]
000008BC 3F3C 00FF move.w -[A7], 0xFF
000008C0 4EAD 0F22 jsr [A5 + 0xF22]
000008C4 2F08 move.l -[A7], A0
000008C6 486E FDFA pea.l [A6 - 0x206]
000008CA A900 trap GetFNum
000008CC 3F2E FDFA move.w -[A7], [A6 - 0x206]
000008D0 A887 trap TextFont
000008D2 42A7 clr.l -[A7]
000008D4 2F2B 023C move.l -[A7], [A3 + 0x23C]
000008D8 3F3C 0004 move.w -[A7], 0x4
000008DC A83D trap TEDispatch
000008DE 205F movea.l A0, [A7]+
000008E0 2850 movea.l A4, [A0]
000008E2 302C 0002 move.w D0, [A4 + 0x2]
000008E6 5340 subq.w D0, 1
000008E8 3D40 FDD8 move.w [A6 - 0x228], D0
000008EC 4247 clr.w D7
000008EE 601C bra +0x1E /* 0000090C */
label000008F0:
000008F0 206C 0004 movea.l A0, [A4 + 0x4]
000008F4 2050 movea.l A0, [A0]
000008F6 3007 move.w D0, D7
000008F8 41BC 06F0 C1FC .invalid 0, 0x6F0C1FC // invalid opcode 4 with b == 6
000008FE 0012 31AE ori.b [A2], 0xAE
00000902 FDFA .extension 0xDFA // unimplemented
00000904 0006 5247 ori.b D6, 0x47 /* 'G' */
00000908 6900 00AC bvs +0xAE /* 000009B6 */
label0000090C:
0000090C BE6E FDD8 cmp.w D7, [A6 - 0x228]
00000910 6FDE ble -0x20 /* 000008F0 */
00000912 6000 00A2 bra +0xA4 /* 000009B6 */
label00000916:
00000916 41EE FDFC lea.l A0, [A6 - 0x204]
0000091A 1F10 move.b -[A7], [A0]
0000091C 3F3C 00FF move.w -[A7], 0xFF
00000920 4EAD 0F22 jsr [A5 + 0xF22]
00000924 2F08 move.l -[A7], A0
00000926 486E FDF0 pea.l [A6 - 0x210]
0000092A 4EAD 0442 jsr [A5 + 0x442]
0000092E 2F2E FDF0 move.l -[A7], [A6 - 0x210]
00000932 2F3C 0000 03E8 move.l -[A7], 0x3E8
00000938 4EAD 0F1A jsr [A5 + 0xF1A]
0000093C 2D5F FDF0 move.l [A6 - 0x210], [A7]+
00000940 3F2E FDF2 move.w -[A7], [A6 - 0x20E]
00000944 A88A trap TextSize
00000946 486E FDDA pea.l [A6 - 0x226]
0000094A A88B trap GetFontInfo
0000094C 42A7 clr.l -[A7]
0000094E 2F2B 023C move.l -[A7], [A3 + 0x23C]
00000952 3F3C 0004 move.w -[A7], 0x4
00000956 A83D trap TEDispatch
00000958 205F movea.l A0, [A7]+
0000095A 2850 movea.l A4, [A0]
0000095C 302C 0002 move.w D0, [A4 + 0x2]
00000960 5340 subq.w D0, 1
00000962 3D40 FDD6 move.w [A6 - 0x22A], D0
00000966 4247 clr.w D7
00000968 6042 bra +0x44 /* 000009AC */
label0000096A:
0000096A 206C 0004 movea.l A0, [A4 + 0x4]
0000096E 2050 movea.l A0, [A0]
00000970 3007 move.w D0, D7
00000972 41BC 06F0 C1FC .invalid 0, 0x6F0C1FC // invalid opcode 4 with b == 6
00000978 0012 41F0 ori.b [A2], 0xF0
0000097C 0000 2D48 ori.b D0, 0x48 /* 'H' */
00000980 FDD2 .extension 0xDD2 // unimplemented
00000982 316E FDF2 000A move.w [A0 + 0xA], [A6 - 0x20E]
00000988 206E FDD2 movea.l A0, [A6 - 0x22E]
0000098C 316E FDDA 0004 move.w [A0 + 0x4], [A6 - 0x226]
00000992 302E FDDC move.w D0, [A6 - 0x224]
00000996 D06E FDDA add.w D0, [A6 - 0x226]
0000099A 322E FDE0 move.w D1, [A6 - 0x220]
0000099E D240 add.w D1, D0
000009A0 206E FDD2 movea.l A0, [A6 - 0x22E]
000009A4 3141 0002 move.w [A0 + 0x2], D1
000009A8 5247 addq.w D7, 1
000009AA 690A bvs +0xC /* 000009B6 */
label000009AC:
000009AC BE6E FDD6 cmp.w D7, [A6 - 0x22A]
000009B0 6FB8 ble -0x46 /* 0000096A */
000009B2 6002 bra +0x4 /* 000009B6 */
label000009B4:
000009B4 4206 clr.b D6
label000009B6:
000009B6 1006 move.b D0, D6
000009B8 6700 00AA beq +0xAC /* 00000A64 */
000009BC 2F2B 0348 move.l -[A7], [A3 + 0x348]
000009C0 2F3C 0000 01A6 move.l -[A7], 0x1A6
000009C6 4EAD 03DA jsr [A5 + 0x3DA]
000009CA 42A7 clr.l -[A7]
000009CC 2F2B 023C move.l -[A7], [A3 + 0x23C]
000009D0 3F3C 0004 move.w -[A7], 0x4
000009D4 A83D trap TEDispatch
000009D6 205F movea.l A0, [A7]+
000009D8 2050 movea.l A0, [A0]
000009DA 2068 0004 movea.l A0, [A0 + 0x4]
000009DE 2050 movea.l A0, [A0]
000009E0 49D0 lea.l A4, [A0]
000009E2 206B 0348 movea.l A0, [A3 + 0x348]
000009E6 2050 movea.l A0, [A0]
000009E8 2D48 FDCE move.l [A6 - 0x232], A0
000009EC 3F2C 0006 move.w -[A7], [A4 + 0x6]
000009F0 206E FDCE movea.l A0, [A6 - 0x232]
000009F4 4868 00A6 pea.l [A0 + 0xA6]
000009F8 A8FF trap GetFName/GetFontName
000009FA 206E FDCE movea.l A0, [A6 - 0x232]
000009FE 316C 000A 00A4 move.w [A0 + 0xA4], [A4 + 0xA]
00000A04 2F2B 0348 move.l -[A7], [A3 + 0x348]
00000A08 206B 0348 movea.l A0, [A3 + 0x348]
00000A0C 2050 movea.l A0, [A0]
00000A0E 4240 clr.w D0
00000A10 1028 00A6 move.b D0, [A0 + 0xA6]
00000A14 D07C 00A6 add.w D0, 0xA6
00000A18 5240 addq.w D0, 1
00000A1A 48C0 ext.l D0
00000A1C 2F00 move.l -[A7], D0
00000A1E 4EAD 03DA jsr [A5 + 0x3DA]
00000A22 3D6B 0240 FDFA move.w [A6 - 0x206], [A3 + 0x240]
00000A28 2F0B move.l -[A7], A3
00000A2A 4EAD 0ACA jsr [A5 + 0xACA]
00000A2E 2F0B move.l -[A7], A3
00000A30 4EAD 09BA jsr [A5 + 0x9BA]
00000A34 3F2E FDFA move.w -[A7], [A6 - 0x206]
00000A38 2F2B 023C move.l -[A7], [A3 + 0x23C]
00000A3C 4EAD 03B2 jsr [A5 + 0x3B2]
00000A40 2F0B move.l -[A7], A3
00000A42 4EAD 09B2 jsr [A5 + 0x9B2]
00000A46 2F2B 023C move.l -[A7], [A3 + 0x23C]
00000A4A A9D0 trap TECalText
00000A4C 41EE FDE2 lea.l A0, [A6 - 0x21E]
00000A50 43EB 0010 lea.l A1, [A3 + 0x10]
00000A54 20D9 move.l [A0]+, [A1]+
00000A56 20D9 move.l [A0]+, [A1]+
00000A58 486E FDE2 pea.l [A6 - 0x21E]
00000A5C A928 trap InvalRect
00000A5E 2F0B move.l -[A7], A3
00000A60 4EAD 09AA jsr [A5 + 0x9AA]
label00000A64:
00000A64 1D46 0010 move.b [A6 + 0x10], D6
00000A68 2F2E FDEA move.l -[A7], [A6 - 0x216]
00000A6C A873 trap SetPort
00000A6E 4CDF 18F0 movem.l A4,A3,D7,D6,D5,D4, [A7]+
00000A72 4E5E unlink A6
00000A74 205F movea.l A0, [A7]+
00000A76 504F addq.w A7, 8
00000A78 4ED0 jmp [A0]
00000A7A 9146 subx.w D0, D6
00000A7C 4F52 chk.w D7, [A2]
00000A7E 4D41 chk.w D6, D1
00000A80 544D addq.w A5, 2
00000A82 454E chk.w D2, A6
00000A84 5548 subq.w A0, 2
00000A86 414E chk.w D0, A6
00000A88 444C neg.w A4
00000A8A 4552 chk.w D2, [A2]
00000A8C 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_379: // at 00000A8E (misaligned)
00000A90 FDF6 .extension 0xDF6 // unimplemented
00000A92 48E7 0308 movem.l -[A7], D6,D7,A4
00000A96 206E 0008 movea.l A0, [A6 + 0x8]
00000A9A 43EE FF00 lea.l A1, [A6 - 0x100]
00000A9E 703F moveq.l D0, 0x3F
label00000AA0:
00000AA0 22D8 move.l [A1]+, [A0]+
00000AA2 51C8 FFFC dbf D0, -0x6 /* 00000AA0 */
00000AA6 426E 000E clr.w [A6 + 0xE]
00000AAA 42A7 clr.l -[A7]
00000AAC 3F2E 000C move.w -[A7], [A6 + 0xC]
00000AB0 A9BF trap GetRMenu
00000AB2 285F movea.l A4, [A7]+
00000AB4 4267 clr.w -[A7]
00000AB6 2F0C move.l -[A7], A4
00000AB8 A950 trap CountMItems
00000ABA 3C1F move.w D6, [A7]+
00000ABC 6730 beq +0x32 /* 00000AEE */
00000ABE 3D46 FDF6 move.w [A6 - 0x20A], D6
00000AC2 7E01 moveq.l D7, 0x01
00000AC4 6022 bra +0x24 /* 00000AE8 */
label00000AC6:
00000AC6 2F0C move.l -[A7], A4
00000AC8 3F07 move.w -[A7], D7
00000ACA 486E FDFC pea.l [A6 - 0x204]
00000ACE A946 trap GetMenuItemText/GetItem
00000AD0 486E FDFC pea.l [A6 - 0x204]
00000AD4 486E FF00 pea.l [A6 - 0x100]
00000AD8 4EAD 0F42 jsr [A5 + 0xF42]
00000ADC 101F move.b D0, [A7]+
00000ADE 6704 beq +0x6 /* 00000AE4 */
00000AE0 3D47 000E move.w [A6 + 0xE], D7
label00000AE4:
00000AE4 5247 addq.w D7, 1
00000AE6 6906 bvs +0x8 /* 00000AEE */
label00000AE8:
00000AE8 BE6E FDF6 cmp.w D7, [A6 - 0x20A]
00000AEC 6FD8 ble -0x26 /* 00000AC6 */
label00000AEE:
00000AEE 4CDF 10C0 movem.l A4,D7,D6, [A7]+
00000AF2 4E5E unlink A6
00000AF4 205F movea.l A0, [A7]+
00000AF6 5C4F addq.w A7, 6
00000AF8 4ED0 jmp [A0]
00000AFA 8D47 4554 pack D6, D7, 0x4554
00000AFE 4D45 chk.w D6, D5
00000B00 4E55 4E55 link A5, -0xFFFFB1AB
00000B04 4D42 chk.w D6, D2
00000B06 4552 chk.w D2, [A2]
00000B08 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_380: // at 00000B0A (misaligned)
00000B0C FDCA .extension 0xDCA // unimplemented
00000B0E 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00000B12 42A7 clr.l -[A7]
00000B14 A924 trap FrontWindow
00000B16 202E 0008 move.l D0, [A6 + 0x8]
00000B1A B09F cmp.l D0, [A7]+
00000B1C 57C5 seq D5
00000B1E 4405 neg.b D5
00000B20 42A7 clr.l -[A7]
00000B22 3F3C 00AF move.w -[A7], 0xAF
00000B26 A9BF trap GetRMenu
00000B28 285F movea.l A4, [A7]+
00000B2A 3D7C 000F FDD2 move.w [A6 - 0x22E], 0xF
00000B30 42A7 clr.l -[A7]
00000B32 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B36 486E FDD2 pea.l [A6 - 0x22E]
00000B3A 3F3C 002D move.w -[A7], 0x2D /* '-' */
00000B3E 4EAD 04D2 jsr [A5 + 0x4D2]
00000B42 2C1F move.l D6, [A7]+
00000B44 660A bne +0xC /* 00000B50 */
00000B46 3F2E FDD6 move.w -[A7], [A6 - 0x22A]
00000B4A 486E FDE6 pea.l [A6 - 0x21A]
00000B4E A8FF trap GetFName/GetFontName
label00000B50:
00000B50 4267 clr.w -[A7]
00000B52 2F0C move.l -[A7], A4
00000B54 A950 trap CountMItems
00000B56 3D5F FDCC move.w [A6 - 0x234], [A7]+
00000B5A 7E01 moveq.l D7, 0x01
00000B5C 6048 bra +0x4A /* 00000BA6 */
label00000B5E:
00000B5E 1005 move.b D0, D5
00000B60 6708 beq +0xA /* 00000B6A */
00000B62 2F0C move.l -[A7], A4
00000B64 3F07 move.w -[A7], D7
00000B66 A939 trap EnableItem
00000B68 6006 bra +0x8 /* 00000B70 */
label00000B6A:
00000B6A 2F0C move.l -[A7], A4
00000B6C 3F07 move.w -[A7], D7
00000B6E A93A trap DisableItem
label00000B70:
00000B70 2F0C move.l -[A7], A4
00000B72 3F07 move.w -[A7], D7
00000B74 486E FEE6 pea.l [A6 - 0x11A]
00000B78 A946 trap GetMenuItemText/GetItem
00000B7A 4A86 tst.l D6
00000B7C 57C0 seq D0
00000B7E 486E FEE6 pea.l [A6 - 0x11A]
00000B82 486E FDE6 pea.l [A6 - 0x21A]
00000B86 4EAD 0F42 jsr [A5 + 0xF42]
00000B8A C01F and.b D0, [A7]+
00000B8C 670C beq +0xE /* 00000B9A */
00000B8E 2F0C move.l -[A7], A4
00000B90 3F07 move.w -[A7], D7
00000B92 1F3C 0001 move.b -[A7], 0x1
00000B96 A945 trap CheckItem
00000B98 6008 bra +0xA /* 00000BA2 */
label00000B9A:
00000B9A 2F0C move.l -[A7], A4
00000B9C 3F07 move.w -[A7], D7
00000B9E 4267 clr.w -[A7]
00000BA0 A945 trap CheckItem
label00000BA2:
00000BA2 5247 addq.w D7, 1
00000BA4 6906 bvs +0x8 /* 00000BAC */
label00000BA6:
00000BA6 BE6E FDCC cmp.w D7, [A6 - 0x234]
00000BAA 6FB2 ble -0x4C /* 00000B5E */
label00000BAC:
00000BAC 42A7 clr.l -[A7]
00000BAE 3F3C 00B0 move.w -[A7], 0xB0
00000BB2 A9BF trap GetRMenu
00000BB4 285F movea.l A4, [A7]+
00000BB6 4267 clr.w -[A7]
00000BB8 2F0C move.l -[A7], A4
00000BBA A950 trap CountMItems
00000BBC 3D5F FDCA move.w [A6 - 0x236], [A7]+
00000BC0 7E01 moveq.l D7, 0x01
00000BC2 6000 00A6 bra +0xA8 /* 00000C6A */
label00000BC6:
00000BC6 1005 move.b D0, D5
00000BC8 6708 beq +0xA /* 00000BD2 */
00000BCA 2F0C move.l -[A7], A4
00000BCC 3F07 move.w -[A7], D7
00000BCE A939 trap EnableItem
00000BD0 6006 bra +0x8 /* 00000BD8 */
label00000BD2:
00000BD2 2F0C move.l -[A7], A4
00000BD4 3F07 move.w -[A7], D7
00000BD6 A93A trap DisableItem
label00000BD8:
00000BD8 2F0C move.l -[A7], A4
00000BDA 3F07 move.w -[A7], D7
00000BDC 486E FEE6 pea.l [A6 - 0x11A]
00000BE0 A946 trap GetMenuItemText/GetItem
00000BE2 4A86 tst.l D6
00000BE4 662A bne +0x2C /* 00000C10 */
00000BE6 41EE FEE6 lea.l A0, [A6 - 0x11A]
00000BEA 1F10 move.b -[A7], [A0]
00000BEC 3F3C 00FF move.w -[A7], 0xFF
00000BF0 4EAD 0F22 jsr [A5 + 0xF22]
00000BF4 2F08 move.l -[A7], A0
00000BF6 486E FFE6 pea.l [A6 - 0x1A]
00000BFA 4EAD 0442 jsr [A5 + 0x442]
00000BFE 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00000C02 2F3C 0000 03E8 move.l -[A7], 0x3E8
00000C08 4EAD 0F1A jsr [A5 + 0xF1A]
00000C0C 2D5F FFE6 move.l [A6 - 0x1A], [A7]+
label00000C10:
00000C10 4A86 tst.l D6
00000C12 57C0 seq D0
00000C14 2F00 move.l -[A7], D0
00000C16 4267 clr.w -[A7]
00000C18 3F2E FDD6 move.w -[A7], [A6 - 0x22A]
00000C1C 3F2E FFE8 move.w -[A7], [A6 - 0x18]
00000C20 A902 trap RealFont
00000C22 121F move.b D1, [A7]+
00000C24 201F move.l D0, [A7]+
00000C26 C001 and.b D0, D1
00000C28 670C beq +0xE /* 00000C36 */
00000C2A 2F0C move.l -[A7], A4
00000C2C 3F07 move.w -[A7], D7
00000C2E 3F3A 0066 move.w -[A7], [PC + 0x66 /* 00000C96 */]
00000C32 A942 trap SetItmStyle
00000C34 600A bra +0xC /* 00000C40 */
label00000C36:
00000C36 2F0C move.l -[A7], A4
00000C38 3F07 move.w -[A7], D7
00000C3A 3F3A 0058 move.w -[A7], [PC + 0x58 /* 00000C94 */]
00000C3E A942 trap SetItmStyle
label00000C40:
00000C40 4A86 tst.l D6
00000C42 57C0 seq D0
00000C44 222E FDD8 move.l D1, [A6 - 0x228]
00000C48 B2AE FFE6 cmp.l D1, [A6 - 0x1A]
00000C4C 57C1 seq D1
00000C4E C001 and.b D0, D1
00000C50 670C beq +0xE /* 00000C5E */
00000C52 2F0C move.l -[A7], A4
00000C54 3F07 move.w -[A7], D7
00000C56 1F3C 0001 move.b -[A7], 0x1
00000C5A A945 trap CheckItem
00000C5C 6008 bra +0xA /* 00000C66 */
label00000C5E:
00000C5E 2F0C move.l -[A7], A4
00000C60 3F07 move.w -[A7], D7
00000C62 4267 clr.w -[A7]
00000C64 A945 trap CheckItem
label00000C66:
00000C66 5247 addq.w D7, 1
00000C68 6908 bvs +0xA /* 00000C72 */
label00000C6A:
00000C6A BE6E FDCA cmp.w D7, [A6 - 0x236]
00000C6E 6F00 FF56 ble -0xA8 /* 00000BC6 */
label00000C72:
00000C72 4CDF 10E0 movem.l A4,D7,D6,D5, [A7]+
00000C76 4E5E unlink A6
00000C78 2E9F move.l [A7], [A7]+
00000C7A 4E75 rts
00000C7C 9446 sub.w D2, D6
00000C7E 4F52 chk.w D7, [A2]
00000C80 4D41 chk.w D6, D1
00000C82 544D addq.w A5, 2
00000C84 454E chk.w D2, A6
00000C86 5543 subq.w D3, 2
00000C88 414C chk.w D0, A4
00000C8A 4355 chk.w D1, [A5]
00000C8C 4C41 544F movem.l A6,A4,A2,D6,D3,D2,D1,D0, D1
00000C90 5200 addq.b D0, 1
00000C92 0004 0000 ori.b D4, 0x0
00000C96 0008 4E56 ori.b A0, 0x56 /* 'V' */
// begin alternate branch 00000C98-00000C9C
fn00000C98:
00000C98 4E56 FDFA link A6, -0x0206
// end alternate branch 00000C98-00000C9C
fn00000C98: // (misaligned)
00000C9A FDFA .extension 0xDFA // unimplemented
00000C9C 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00000CA0 206E 0010 movea.l A0, [A6 + 0x10]
00000CA4 43EE FF00 lea.l A1, [A6 - 0x100]
00000CA8 703F moveq.l D0, 0x3F
label00000CAA:
00000CAA 22D8 move.l [A1]+, [A0]+
00000CAC 51C8 FFFC dbf D0, -0x6 /* 00000CAA */
00000CB0 286E 0008 movea.l A4, [A6 + 0x8]
00000CB4 4207 clr.b D7
00000CB6 486E FDFA pea.l [A6 - 0x206]
00000CBA 2F3C 0002 0086 move.l -[A7], 0x20086
00000CC0 4EBA F5B8 jsr [PC - 0xA48 /* 0000027A */]
00000CC4 205F movea.l A0, [A7]+
00000CC6 486E FF00 pea.l [A6 - 0x100]
00000CCA 2F08 move.l -[A7], A0
00000CCC 4EAD 0F42 jsr [A5 + 0xF42]
00000CD0 101F move.b D0, [A7]+
00000CD2 6720 beq +0x22 /* 00000CF4 */
00000CD4 0C6D 0700 FDBE cmpi.w [A5 - 0x242], 0x700
00000CDA 6D70 blt +0x72 /* 00000D4C */
00000CDC 4267 clr.w -[A7]
00000CDE 2F2E 000C move.l -[A7], [A6 + 0xC]
00000CE2 303C 0200 move.w D0, 0x200
00000CE6 A830 trap Pack14
00000CE8 3A1F move.w D5, [A7]+
00000CEA 57C7 seq D7
00000CEC 4407 neg.b D7
00000CEE 38BC BF96 move.w [A4], 0xBF96
00000CF2 6058 bra +0x5A /* 00000D4C */
label00000CF4:
00000CF4 38BC FFFF move.w [A4], 0xFFFF
00000CF8 3C14 move.w D6, [A4]
label00000CFA:
00000CFA 5254 addq.w [A4], 1
00000CFC 206E 000C movea.l A0, [A6 + 0xC]
00000D00 2F08 move.l -[A7], A0
00000D02 42A7 clr.l -[A7]
00000D04 3F14 move.w -[A7], [A4]
00000D06 A949 trap GetMenuHandle
00000D08 201F move.l D0, [A7]+
00000D0A 205F movea.l A0, [A7]+
00000D0C 2080 move.l [A0], D0
00000D0E 206E 000C movea.l A0, [A6 + 0xC]
00000D12 4A90 tst.l [A0]
00000D14 671C beq +0x1E /* 00000D32 */
00000D16 BC54 cmp.w D6, [A4]
00000D18 6C02 bge +0x4 /* 00000D1C */
00000D1A 3C14 move.w D6, [A4]
label00000D1C:
00000D1C 206E 000C movea.l A0, [A6 + 0xC]
00000D20 2050 movea.l A0, [A0]
00000D22 2050 movea.l A0, [A0]
00000D24 4868 000E pea.l [A0 + 0xE]
00000D28 486E FF00 pea.l [A6 - 0x100]
00000D2C 4EAD 0F42 jsr [A5 + 0xF42]
00000D30 1E1F move.b D7, [A7]+
label00000D32:
00000D32 0C54 00EB cmpi.w [A4], 0xEB
00000D36 57C0 seq D0
00000D38 2207 move.l D1, D7
00000D3A 8200 or.b D1, D0
00000D3C 0241 0001 andi.w D1, 0x1
00000D40 67B8 beq -0x46 /* 00000CFA */
00000D42 1007 move.b D0, D7
00000D44 6606 bne +0x8 /* 00000D4C */
00000D46 3006 move.w D0, D6
00000D48 5240 addq.w D0, 1
00000D4A 3880 move.w [A4], D0
label00000D4C:
00000D4C 1D47 0014 move.b [A6 + 0x14], D7
00000D50 4CDF 10E0 movem.l A4,D7,D6,D5, [A7]+
00000D54 4E5E unlink A6
00000D56 205F movea.l A0, [A7]+
00000D58 DEFC 000C add.w A7, 0xC
00000D5C 4ED0 jmp [A0]
00000D5E 8F4D 454E pack -[A7], -[A5], 0x454E
00000D62 5548 subq.w A0, 2
00000D64 414E chk.w D0, A6
00000D66 444C neg.w A4
00000D68 4541 chk.w D2, D1
00000D6A 4E44 trap 4
00000D6C 4944 chk.w D4, D4
00000D6E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_381: // at 00000D70 (misaligned)
00000D72 FDEC .extension 0xDEC // unimplemented
00000D74 206E 0010 movea.l A0, [A6 + 0x10]
00000D78 43EE FFF8 lea.l A1, [A6 - 0x8]
00000D7C 22D8 move.l [A1]+, [A0]+
00000D7E 22D8 move.l [A1]+, [A0]+
00000D80 206E 000C movea.l A0, [A6 + 0xC]
00000D84 43EE FFF0 lea.l A1, [A6 - 0x10]
00000D88 22D8 move.l [A1]+, [A0]+
00000D8A 22D8 move.l [A1]+, [A0]+
00000D8C 486E FDEC pea.l [A6 - 0x214]
00000D90 486E FFF0 pea.l [A6 - 0x10]
00000D94 4EAD 088A jsr [A5 + 0x88A]
00000D98 205F movea.l A0, [A7]+
00000D9A 1F10 move.b -[A7], [A0]
00000D9C 3F3C 00FF move.w -[A7], 0xFF
00000DA0 4EAD 0F22 jsr [A5 + 0xF22]
00000DA4 43EE FEEC lea.l A1, [A6 - 0x114]
00000DA8 703F moveq.l D0, 0x3F
label00000DAA:
00000DAA 22D8 move.l [A1]+, [A0]+
00000DAC 51C8 FFFC dbf D0, -0x6 /* 00000DAA */
00000DB0 486E FEEC pea.l [A6 - 0x114]
00000DB4 487A 012E pea.l [PC + 0x12E /* 00000EE4, pstring "standard" */]
00000DB8 4EAD 0F42 jsr [A5 + 0xF42]
00000DBC 486E FEEC pea.l [A6 - 0x114]
00000DC0 487A 012C pea.l [PC + 0x12C /* 00000EEE, pstring "hierarchical" */]
00000DC4 4EAD 0F42 jsr [A5 + 0xF42]
00000DC8 101F move.b D0, [A7]+
00000DCA 801F or.b D0, [A7]+
00000DCC 2F00 move.l -[A7], D0
00000DCE 486E FDEC pea.l [A6 - 0x214]
00000DD2 2F3C 0002 0086 move.l -[A7], 0x20086
00000DD8 4EBA F4A0 jsr [PC - 0xB60 /* 0000027A */]
00000DDC 221F move.l D1, [A7]+
00000DDE 201F move.l D0, [A7]+
00000DE0 2041 movea.l A0, D1
00000DE2 486E FEEC pea.l [A6 - 0x114]
00000DE6 2F08 move.l -[A7], A0
00000DE8 4EAD 0F42 jsr [A5 + 0xF42]
00000DEC 801F or.b D0, [A7]+
00000DEE 6700 00CA beq +0xCC /* 00000EBA */
00000DF2 3D7C 0001 0014 move.w [A6 + 0x14], 0x1
00000DF8 206E 0008 movea.l A0, [A6 + 0x8]
00000DFC 30BC BF96 move.w [A0], 0xBF96
00000E00 486E FDEC pea.l [A6 - 0x214]
00000E04 2F3C 0002 0086 move.l -[A7], 0x20086
00000E0A 4EBA F46E jsr [PC - 0xB92 /* 0000027A */]
00000E0E 205F movea.l A0, [A7]+
00000E10 486E FEEC pea.l [A6 - 0x114]
00000E14 2F08 move.l -[A7], A0
00000E16 4EAD 0F42 jsr [A5 + 0xF42]
00000E1A 101F move.b D0, [A7]+
00000E1C 6712 beq +0x14 /* 00000E30 */
00000E1E 0C6D 0700 FDBE cmpi.w [A5 - 0x242], 0x700
00000E24 6D00 009A blt +0x9C /* 00000EC0 */
00000E28 426E 0014 clr.w [A6 + 0x14]
00000E2C 6000 0092 bra +0x94 /* 00000EC0 */
label00000E30:
00000E30 4267 clr.w -[A7]
00000E32 486E FDEC pea.l [A6 - 0x214]
00000E36 486E FFF8 pea.l [A6 - 0x8]
00000E3A 4EAD 088A jsr [A5 + 0x88A]
00000E3E 205F movea.l A0, [A7]+
00000E40 1F10 move.b -[A7], [A0]
00000E42 3F3C 00FF move.w -[A7], 0xFF
00000E46 4EAD 0F22 jsr [A5 + 0xF22]
00000E4A 2F08 move.l -[A7], A0
00000E4C 486E FFEC pea.l [A6 - 0x14]
00000E50 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000E54 4EBA FE42 jsr [PC - 0x1BE /* 00000C98 */]
00000E58 101F move.b D0, [A7]+
00000E5A 6664 bne +0x66 /* 00000EC0 */
00000E5C 206E 0008 movea.l A0, [A6 + 0x8]
00000E60 0C50 00EB cmpi.w [A0], 0xEB
00000E64 675A beq +0x5C /* 00000EC0 */
00000E66 426E 0014 clr.w [A6 + 0x14]
00000E6A 42A7 clr.l -[A7]
00000E6C 206E 0008 movea.l A0, [A6 + 0x8]
00000E70 3F10 move.w -[A7], [A0]
00000E72 486E FDEC pea.l [A6 - 0x214]
00000E76 486E FFF8 pea.l [A6 - 0x8]
00000E7A 4EAD 088A jsr [A5 + 0x88A]
00000E7E 205F movea.l A0, [A7]+
00000E80 1F10 move.b -[A7], [A0]
00000E82 3F3C 00FF move.w -[A7], 0xFF
00000E86 4EAD 0F22 jsr [A5 + 0xF22]
00000E8A 2F08 move.l -[A7], A0
00000E8C A931 trap NewMenu
00000E8E 2D5F FFEC move.l [A6 - 0x14], [A7]+
00000E92 486E FEEC pea.l [A6 - 0x114]
00000E96 487A 004C pea.l [PC + 0x4C /* 00000EE4, pstring "standard" */]
00000E9A 4EAD 0F42 jsr [A5 + 0xF42]
00000E9E 101F move.b D0, [A7]+
00000EA0 670C beq +0xE /* 00000EAE */
00000EA2 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000EA6 4267 clr.w -[A7]
00000EA8 A935 trap InsertMenu
00000EAA A937 trap DrawMenuBar
00000EAC 6012 bra +0x14 /* 00000EC0 */
label00000EAE:
00000EAE 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000EB2 3F3C FFFF move.w -[A7], 0xFFFF
00000EB6 A935 trap InsertMenu
00000EB8 6006 bra +0x8 /* 00000EC0 */
label00000EBA:
00000EBA 3D7C FFFF 0014 move.w [A6 + 0x14], 0xFFFF
label00000EC0:
00000EC0 4E5E unlink A6
00000EC2 205F movea.l A0, [A7]+
00000EC4 DEFC 000C add.w A7, 0xC
00000EC8 4ED0 jmp [A0]
00000ECA 9653 sub.w D3, [A3]
00000ECC 5953 subq.w [A3], 4
00000ECE 5445 addq.w D5, 2
00000ED0 4D41 chk.w D6, D1
00000ED2 4444 neg.w D4
00000ED4 4D45 chk.w D6, D5
00000ED6 4E55 5052 link A5, -0xFFFFAFAE
00000EDA 4544 chk.w D2, D4
00000EDC 4943 chk.w D4, D3
00000EDE 4154 chk.w D0, [A4]
00000EE0 4500 .invalid 2, D0 // invalid opcode 4 with b == 4
00000EE2 0018 0873 ori.b [A0]+, 0x73 /* 's' */
00000EE6 7461 moveq.l D2, 0x61
00000EE8 6E64 bgt +0x66 /* 00000F4E */
00000EEA 6172 bsr +0x74 /* 00000F5E */
00000EEC 6400 0C68 bcc +0xC6A /* 00001B56 */
00000EF0 6965 bvs +0x67 /* 00000F57 */
00000EF2 7261 moveq.l D1, 0x61
00000EF4 7263 moveq.l D1, 0x63
00000EF6 6869 bvc +0x6B /* 00000F61 */
00000EF8 6361 bls +0x63 /* 00000F5B */
00000EFA 6C00 4E56 bge +0x4E58 /* 00005D52 */
export_382: // at 00000EFC (misaligned)
00000EFE FCB2 .extension 0xCB2 // unimplemented
00000F00 48E7 0700 movem.l -[A7], D5,D6,D7
00000F04 206E 0024 movea.l A0, [A6 + 0x24]
00000F08 43EE FFF8 lea.l A1, [A6 - 0x8]
00000F0C 22D8 move.l [A1]+, [A0]+
00000F0E 22D8 move.l [A1]+, [A0]+
00000F10 206E 0020 movea.l A0, [A6 + 0x20]
00000F14 43EE FFF0 lea.l A1, [A6 - 0x10]
00000F18 22D8 move.l [A1]+, [A0]+
00000F1A 22D8 move.l [A1]+, [A0]+
00000F1C 206E 001C movea.l A0, [A6 + 0x1C]
00000F20 43EE FFE8 lea.l A1, [A6 - 0x18]
00000F24 22D8 move.l [A1]+, [A0]+
00000F26 22D8 move.l [A1]+, [A0]+
00000F28 206E 0018 movea.l A0, [A6 + 0x18]
00000F2C 43EE FFE0 lea.l A1, [A6 - 0x20]
00000F30 22D8 move.l [A1]+, [A0]+
00000F32 22D8 move.l [A1]+, [A0]+
00000F34 206E 0014 movea.l A0, [A6 + 0x14]
00000F38 43EE FFD8 lea.l A1, [A6 - 0x28]
00000F3C 22D8 move.l [A1]+, [A0]+
00000F3E 22D8 move.l [A1]+, [A0]+
00000F40 206E 0010 movea.l A0, [A6 + 0x10]
00000F44 43EE FFD0 lea.l A1, [A6 - 0x30]
00000F48 22D8 move.l [A1]+, [A0]+
00000F4A 22D8 move.l [A1]+, [A0]+
00000F4C 206E 000C movea.l A0, [A6 + 0xC]
// begin alternate branch 00000F4E-00000F54
label00000F4E:
00000F4E 000C 43EE ori.b A4, 0xEE
00000F52 FFC8 .extension 0xFC8 // unimplemented
// end alternate branch 00000F4E-00000F54
label00000F4E: // (misaligned)
00000F50 43EE FFC8 lea.l A1, [A6 - 0x38]
00000F54 22D8 move.l [A1]+, [A0]+
00000F56 22D8 move.l [A1]+, [A0]+
label00000F57: // (misaligned)
00000F58 206E 0008 movea.l A0, [A6 + 0x8]
label00000F5B: // (misaligned)
00000F5C 43EE FFC0 lea.l A1, [A6 - 0x40]
// begin alternate branch 00000F5E-00000F60
fn00000F5E:
00000F5E FFC0 .extension 0xFC0 // unimplemented
// end alternate branch 00000F5E-00000F60
fn00000F5E: // (misaligned)
00000F60 22D8 move.l [A1]+, [A0]+
label00000F61: // (misaligned)
00000F62 22D8 move.l [A1]+, [A0]+
00000F64 7000 moveq.l D0, 0x00
00000F66 2D40 0028 move.l [A6 + 0x28], D0
00000F6A 0C6D 0700 FDBE cmpi.w [A5 - 0x242], 0x700
00000F70 5DC0 slt D0
00000F72 2F00 move.l -[A7], D0
00000F74 486E FDB4 pea.l [A6 - 0x24C]
00000F78 486E FFF0 pea.l [A6 - 0x10]
00000F7C 4EAD 088A jsr [A5 + 0x88A]
00000F80 221F move.l D1, [A7]+
00000F82 201F move.l D0, [A7]+
00000F84 2041 movea.l A0, D1
00000F86 48E7 8080 movem.l -[A7], D0,A0
00000F8A 486E FCB4 pea.l [A6 - 0x34C]
00000F8E 2F3C 0002 0086 move.l -[A7], 0x20086
00000F94 4EBA F2E4 jsr [PC - 0xD1C /* 0000027A */]
00000F98 221F move.l D1, [A7]+
00000F9A 4CDF 0101 movem.l A0,D0, [A7]+
00000F9E 2241 movea.l A1, D1
00000FA0 2F08 move.l -[A7], A0
00000FA2 2F09 move.l -[A7], A1
00000FA4 4EAD 0F42 jsr [A5 + 0xF42]
00000FA8 C01F and.b D0, [A7]+
00000FAA 6600 035E bne +0x360 /* 0000130A */
00000FAE 4267 clr.w -[A7]
00000FB0 486E FDB4 pea.l [A6 - 0x24C]
00000FB4 486E FFF0 pea.l [A6 - 0x10]
00000FB8 4EAD 088A jsr [A5 + 0x88A]
00000FBC 205F movea.l A0, [A7]+
00000FBE 1F10 move.b -[A7], [A0]
00000FC0 3F3C 00FF move.w -[A7], 0xFF
00000FC4 4EAD 0F22 jsr [A5 + 0xF22]
00000FC8 2F08 move.l -[A7], A0
00000FCA 486E FFB8 pea.l [A6 - 0x48]
00000FCE 486E FFBC pea.l [A6 - 0x44]
00000FD2 4EBA FCC4 jsr [PC - 0x33C /* 00000C98 */]
00000FD6 1C1F move.b D6, [A7]+
00000FD8 486E FDB4 pea.l [A6 - 0x24C]
00000FDC 486E FFF8 pea.l [A6 - 0x8]
00000FE0 4EAD 088A jsr [A5 + 0x88A]
00000FE4 205F movea.l A0, [A7]+
00000FE6 2F08 move.l -[A7], A0
00000FE8 487A 0376 pea.l [PC + 0x376 /* 00001360, pstring "set" */]
00000FEC 4EAD 0F42 jsr [A5 + 0xF42]
00000FF0 101F move.b D0, [A7]+
00000FF2 6700 0254 beq +0x256 /* 00001248 */
00000FF6 1006 move.b D0, D6
00000FF8 6660 bne +0x62 /* 0000105A */
00000FFA 0C6E 00EB FFBC cmpi.w [A6 - 0x44], 0xEB
00001000 6758 beq +0x5A /* 0000105A */
00001002 42A7 clr.l -[A7]
00001004 3F2E FFBC move.w -[A7], [A6 - 0x44]
00001008 486E FDB4 pea.l [A6 - 0x24C]
0000100C 486E FFF0 pea.l [A6 - 0x10]
00001010 4EAD 088A jsr [A5 + 0x88A]
00001014 205F movea.l A0, [A7]+
00001016 1F10 move.b -[A7], [A0]
00001018 3F3C 00FF move.w -[A7], 0xFF
0000101C 4EAD 0F22 jsr [A5 + 0xF22]
00001020 2F08 move.l -[A7], A0
00001022 A931 trap NewMenu
00001024 2D5F FFB8 move.l [A6 - 0x48], [A7]+
00001028 486E FDB4 pea.l [A6 - 0x24C]
0000102C 486E FFE0 pea.l [A6 - 0x20]
00001030 4EAD 088A jsr [A5 + 0x88A]
00001034 205F movea.l A0, [A7]+
00001036 2F08 move.l -[A7], A0
00001038 487A 031C pea.l [PC + 0x31C /* 00001356, pstring "standard" */]
0000103C 4EAD 0F42 jsr [A5 + 0xF42]
00001040 101F move.b D0, [A7]+
00001042 670C beq +0xE /* 00001050 */
00001044 2F2E FFB8 move.l -[A7], [A6 - 0x48]
00001048 4267 clr.w -[A7]
0000104A A935 trap InsertMenu
0000104C A937 trap DrawMenuBar
0000104E 600A bra +0xC /* 0000105A */
label00001050:
00001050 2F2E FFB8 move.l -[A7], [A6 - 0x48]
00001054 3F3C FFFF move.w -[A7], 0xFFFF
00001058 A935 trap InsertMenu
label0000105A:
0000105A 4AAE FFB8 tst.l [A6 - 0x48]
0000105E 6700 02AA beq +0x2AC /* 0000130A */
00001062 3A2E FFBC move.w D5, [A6 - 0x44]
00001066 486E FDB4 pea.l [A6 - 0x24C]
0000106A 486E FFE8 pea.l [A6 - 0x18]
0000106E 4EAD 088A jsr [A5 + 0x88A]
00001072 205F movea.l A0, [A7]+
00001074 4A10 tst.b [A0]
00001076 6700 01B0 beq +0x1B2 /* 00001228 */
0000107A 486E FDB4 pea.l [A6 - 0x24C]
0000107E 486E FFE8 pea.l [A6 - 0x18]
00001082 4EAD 088A jsr [A5 + 0x88A]
00001086 205F movea.l A0, [A7]+
00001088 2F08 move.l -[A7], A0
0000108A 487A 02C8 pea.l [PC + 0x2C8 /* 00001354 */]
0000108E 4EAD 0F42 jsr [A5 + 0xF42]
00001092 101F move.b D0, [A7]+
00001094 671E beq +0x20 /* 000010B4 */
00001096 4267 clr.w -[A7]
00001098 2F2E FFB8 move.l -[A7], [A6 - 0x48]
0000109C A950 trap CountMItems
0000109E 301F move.w D0, [A7]+
000010A0 5240 addq.w D0, 1
000010A2 3D40 FFBC move.w [A6 - 0x44], D0
000010A6 2F2E FFB8 move.l -[A7], [A6 - 0x48]
000010AA 487A 02A4 pea.l [PC + 0x2A4 /* 00001350, pstring "(-)" */]
000010AE A933 trap AppendMenu
000010B0 6000 0176 bra +0x178 /* 00001228 */
label000010B4:
000010B4 426E FFBC clr.w [A6 - 0x44]
000010B8 4267 clr.w -[A7]
000010BA 2F2E FFB8 move.l -[A7], [A6 - 0x48]
000010BE A950 trap CountMItems
000010C0 4A5F tst.w [A7]+
000010C2 6742 beq +0x44 /* 00001106 */
label000010C4:
000010C4 526E FFBC addq.w [A6 - 0x44], 1
000010C8 2F2E FFB8 move.l -[A7], [A6 - 0x48]
000010CC 3F2E FFBC move.w -[A7], [A6 - 0x44]
000010D0 486E FEB8 pea.l [A6 - 0x148]
000010D4 A946 trap GetMenuItemText/GetItem
000010D6 486E FDB4 pea.l [A6 - 0x24C]
000010DA 486E FFE8 pea.l [A6 - 0x18]
000010DE 4EAD 088A jsr [A5 + 0x88A]
000010E2 205F movea.l A0, [A7]+
000010E4 486E FEB8 pea.l [A6 - 0x148]
000010E8 2F08 move.l -[A7], A0
000010EA 4EAD 0F42 jsr [A5 + 0xF42]
000010EE 4267 clr.w -[A7]
000010F0 2F2E FFB8 move.l -[A7], [A6 - 0x48]
000010F4 A950 trap CountMItems
000010F6 302E FFBC move.w D0, [A6 - 0x44]
000010FA B05F cmp.w D0, [A7]+
000010FC 57C0 seq D0
000010FE 801F or.b D0, [A7]+
00001100 0240 0001 andi.w D0, 0x1
00001104 67BE beq -0x40 /* 000010C4 */
label00001106:
00001106 486E FDB4 pea.l [A6 - 0x24C]
0000110A 486E FFE8 pea.l [A6 - 0x18]
0000110E 4EAD 088A jsr [A5 + 0x88A]
00001112 205F movea.l A0, [A7]+
00001114 486E FEB8 pea.l [A6 - 0x148]
00001118 2F08 move.l -[A7], A0
0000111A 4EAD 0F3A jsr [A5 + 0xF3A]
0000111E 101F move.b D0, [A7]+
00001120 6736 beq +0x38 /* 00001158 */
00001122 526E FFBC addq.w [A6 - 0x44], 1
00001126 2F2E FFB8 move.l -[A7], [A6 - 0x48]
0000112A 487A 021C pea.l [PC + 0x21C /* 00001348, pstring "nothing" */]
0000112E 3F2E FFBC move.w -[A7], [A6 - 0x44]
00001132 A826 trap InsertMenuItem/InsMenuItem
00001134 2F2E FFB8 move.l -[A7], [A6 - 0x48]
00001138 3F2E FFBC move.w -[A7], [A6 - 0x44]
0000113C 486E FDB4 pea.l [A6 - 0x24C]
00001140 486E FFE8 pea.l [A6 - 0x18]
00001144 4EAD 088A jsr [A5 + 0x88A]
00001148 205F movea.l A0, [A7]+
0000114A 1F10 move.b -[A7], [A0]
0000114C 3F3C 00FF move.w -[A7], 0xFF
00001150 4EAD 0F22 jsr [A5 + 0xF22]
00001154 2F08 move.l -[A7], A0
00001156 A947 trap SetMenuItemText/SetItem
label00001158:
00001158 486E FDB4 pea.l [A6 - 0x24C]
0000115C 486E FFC8 pea.l [A6 - 0x38]
00001160 4EAD 088A jsr [A5 + 0x88A]
00001164 205F movea.l A0, [A7]+
00001166 4A10 tst.b [A0]
00001168 6718 beq +0x1A /* 00001182 */
0000116A 2F2E FFB8 move.l -[A7], [A6 - 0x48]
0000116E 3F2E FFBC move.w -[A7], [A6 - 0x44]
00001172 42A7 clr.l -[A7]
00001174 486E FFC8 pea.l [A6 - 0x38]
00001178 4EBA F1EE jsr [PC - 0xE12 /* 00000368 */]
0000117C 201F move.l D0, [A7]+
0000117E 3F00 move.w -[A7], D0
00001180 A84F trap SetItemCmd
label00001182:
00001182 486E FDB4 pea.l [A6 - 0x24C]
00001186 486E FFD8 pea.l [A6 - 0x28]
0000118A 4EAD 088A jsr [A5 + 0x88A]
0000118E 205F movea.l A0, [A7]+
00001190 2F08 move.l -[A7], A0
00001192 487A 01AC pea.l [PC + 0x1AC /* 00001340, pstring "enabled" */]
00001196 4EAD 0F42 jsr [A5 + 0xF42]
0000119A 101F move.b D0, [A7]+
0000119C 670C beq +0xE /* 000011AA */
0000119E 2F2E FFB8 move.l -[A7], [A6 - 0x48]
000011A2 3F2E FFBC move.w -[A7], [A6 - 0x44]
000011A6 A939 trap EnableItem
000011A8 6026 bra +0x28 /* 000011D0 */
label000011AA:
000011AA 486E FDB4 pea.l [A6 - 0x24C]
000011AE 486E FFD8 pea.l [A6 - 0x28]
000011B2 4EAD 088A jsr [A5 + 0x88A]
000011B6 205F movea.l A0, [A7]+
000011B8 2F08 move.l -[A7], A0
000011BA 487A 017A pea.l [PC + 0x17A /* 00001336, pstring "disabled" */]
000011BE 4EAD 0F42 jsr [A5 + 0xF42]
000011C2 101F move.b D0, [A7]+
000011C4 670A beq +0xC /* 000011D0 */
000011C6 2F2E FFB8 move.l -[A7], [A6 - 0x48]
000011CA 3F2E FFBC move.w -[A7], [A6 - 0x44]
000011CE A93A trap DisableItem
label000011D0:
000011D0 486E FDB4 pea.l [A6 - 0x24C]
000011D4 486E FFD0 pea.l [A6 - 0x30]
000011D8 4EAD 088A jsr [A5 + 0x88A]
000011DC 205F movea.l A0, [A7]+
000011DE 4A10 tst.b [A0]
000011E0 671C beq +0x1E /* 000011FE */
000011E2 2F2E FFB8 move.l -[A7], [A6 - 0x48]
000011E6 3F2E FFBC move.w -[A7], [A6 - 0x44]
000011EA 42A7 clr.l -[A7]
000011EC 486E FFD0 pea.l [A6 - 0x30]
000011F0 4EBA F176 jsr [PC - 0xE8A /* 00000368 */]
000011F4 201F move.l D0, [A7]+
000011F6 41BC 00FF 3F00 .invalid 0, 0xFF3F00 // invalid opcode 4 with b == 6
000011FC A940 trap SetItmIcon
label000011FE:
000011FE 486E FDB4 pea.l [A6 - 0x24C]
00001202 486E FFC0 pea.l [A6 - 0x40]
00001206 4EAD 088A jsr [A5 + 0x88A]
0000120A 205F movea.l A0, [A7]+
0000120C 4A10 tst.b [A0]
0000120E 6718 beq +0x1A /* 00001228 */
00001210 2F2E FFB8 move.l -[A7], [A6 - 0x48]
00001214 3F2E FFBC move.w -[A7], [A6 - 0x44]
00001218 42A7 clr.l -[A7]
0000121A 486E FFC0 pea.l [A6 - 0x40]
0000121E 4EBA F148 jsr [PC - 0xEB8 /* 00000368 */]
00001222 201F move.l D0, [A7]+
00001224 3F00 move.w -[A7], D0
00001226 A944 trap SetItmMark
label00001228:
00001228 3005 move.w D0, D5
0000122A 48C0 ext.l D0
0000122C 2F00 move.l -[A7], D0
0000122E 2F3C 0001 0000 move.l -[A7], 0x10000
00001234 4EAD 0F12 jsr [A5 + 0xF12]
00001238 302E FFBC move.w D0, [A6 - 0x44]
0000123C 48C0 ext.l D0
0000123E D09F add.l D0, [A7]+
00001240 2D40 0028 move.l [A6 + 0x28], D0
00001244 6000 00C4 bra +0xC6 /* 0000130A */
label00001248:
00001248 486E FDB4 pea.l [A6 - 0x24C]
0000124C 486E FFF8 pea.l [A6 - 0x8]
00001250 4EAD 088A jsr [A5 + 0x88A]
00001254 205F movea.l A0, [A7]+
00001256 2F08 move.l -[A7], A0
00001258 487A 00D4 pea.l [PC + 0xD4 /* 0000132E, pstring "delete" */]
0000125C 4EAD 0F42 jsr [A5 + 0xF42]
00001260 101F move.b D0, [A7]+
00001262 6700 00A6 beq +0xA8 /* 0000130A */
00001266 1006 move.b D0, D6
00001268 6700 00A0 beq +0xA2 /* 0000130A */
0000126C 486E FDB4 pea.l [A6 - 0x24C]
00001270 486E FFE8 pea.l [A6 - 0x18]
00001274 4EAD 088A jsr [A5 + 0x88A]
00001278 205F movea.l A0, [A7]+
0000127A 4A10 tst.b [A0]
0000127C 6756 beq +0x58 /* 000012D4 */
0000127E 4267 clr.w -[A7]
00001280 2F2E FFB8 move.l -[A7], [A6 - 0x48]
00001284 A950 trap CountMItems
00001286 4A5F tst.w [A7]+
00001288 674A beq +0x4C /* 000012D4 */
0000128A 4267 clr.w -[A7]
0000128C 2F2E FFB8 move.l -[A7], [A6 - 0x48]
00001290 A950 trap CountMItems
00001292 3D5F FCB2 move.w [A6 - 0x34E], [A7]+
00001296 7E01 moveq.l D7, 0x01
00001298 6034 bra +0x36 /* 000012CE */
label0000129A:
0000129A 2F2E FFB8 move.l -[A7], [A6 - 0x48]
0000129E 3F07 move.w -[A7], D7
000012A0 486E FEB8 pea.l [A6 - 0x148]
000012A4 A946 trap GetMenuItemText/GetItem
000012A6 486E FDB4 pea.l [A6 - 0x24C]
000012AA 486E FFE8 pea.l [A6 - 0x18]
000012AE 4EAD 088A jsr [A5 + 0x88A]
000012B2 205F movea.l A0, [A7]+
000012B4 486E FEB8 pea.l [A6 - 0x148]
000012B8 2F08 move.l -[A7], A0
000012BA 4EAD 0F42 jsr [A5 + 0xF42]
000012BE 101F move.b D0, [A7]+
000012C0 6708 beq +0xA /* 000012CA */
000012C2 2F2E FFB8 move.l -[A7], [A6 - 0x48]
000012C6 3F07 move.w -[A7], D7
000012C8 A952 trap DeleteMenuItem/DelMenuItem
label000012CA:
000012CA 5247 addq.w D7, 1
000012CC 6906 bvs +0x8 /* 000012D4 */
label000012CE:
000012CE BE6E FCB2 cmp.w D7, [A6 - 0x34E]
000012D2 6FC6 ble -0x38 /* 0000129A */
label000012D4:
000012D4 486E FDB4 pea.l [A6 - 0x24C]
000012D8 486E FFE8 pea.l [A6 - 0x18]
000012DC 4EAD 088A jsr [A5 + 0x88A]
000012E0 205F movea.l A0, [A7]+
000012E2 4A10 tst.b [A0]
000012E4 6608 bne +0xA /* 000012EE */
000012E6 3F2E FFBC move.w -[A7], [A6 - 0x44]
000012EA A936 trap DeleteMenu
000012EC A937 trap DrawMenuBar
label000012EE:
000012EE 302E FFBC move.w D0, [A6 - 0x44]
000012F2 48C0 ext.l D0
000012F4 2F00 move.l -[A7], D0
000012F6 2F3C 0001 0000 move.l -[A7], 0x10000
000012FC 4EAD 0F12 jsr [A5 + 0xF12]
00001300 3007 move.w D0, D7
00001302 48C0 ext.l D0
00001304 D09F add.l D0, [A7]+
00001306 2D40 0028 move.l [A6 + 0x28], D0
label0000130A:
0000130A 4CDF 00E0 movem.l D7,D6,D5, [A7]+
0000130E 4E5E unlink A6
00001310 205F movea.l A0, [A7]+
00001312 DEFC 0020 add.w A7, 0x20 /* ' ' */
00001316 4ED0 jmp [A0]
00001318 9353 sub.w [A3], D1
0000131A 5953 subq.w [A3], 4
0000131C 5445 addq.w D5, 2
0000131E 4D4D chk.w D6, A5
00001320 454E chk.w D2, A6
00001322 5550 subq.w [A0], 2
00001324 5245 addq.w D5, 1
00001326 4449 neg.w A1
00001328 4341 chk.w D1, D1
0000132A 5445 addq.w D5, 2
0000132C 0036 0664 656C ori.b <<invalid full ext with I/IS == 4>>, 0x64 /* 'd' */
00001332 6574 bcs +0x76 /* 000013A8 */
00001334 6500 0864 bcs +0x866 /* 00001B9A */
00001338 6973 bvs +0x75 /* 000013AD */
0000133A 6162 bsr +0x64 /* 0000139E */
0000133C 6C65 bge +0x67 /* 000013A3 */
0000133E 6400 0765 bcc +0x767 /* 00001AA5 */
00001342 6E61 bgt +0x63 /* 000013A5 */
00001344 626C bhi +0x6E /* 000013B2 */
00001346 6564 bcs +0x66 /* 000013AC */
00001348 076E 6F74 bchg [A6 + 0x6F74], D3
0000134C 6869 bvc +0x6B /* 000013B7 */
0000134E 6E67 bgt +0x69 /* 000013B7 */
00001350 0328 2D29 btst [A0 + 0x2D29], D1
00001354 012D 0873 btst [A5 + 0x873], D0
00001358 7461 moveq.l D2, 0x61
0000135A 6E64 bgt +0x66 /* 000013C0 */
0000135C 6172 bsr +0x74 /* 000013D0 */
0000135E 6400 0373 bcc +0x375 /* 000016D3 */
00001362 6574 bcs +0x76 /* 000013D8 */
export_383:
00001364 4E56 F7BA link A6, -0x0846
00001368 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000136C 266E 000A movea.l A3, [A6 + 0xA]
00001370 4EAD 0492 jsr [A5 + 0x492]
00001374 4267 clr.w -[A7]
00001376 4EAD 048A jsr [A5 + 0x48A]
0000137A 4A5F tst.w [A7]+
0000137C 6600 0720 bne +0x722 /* 00001A9E */
00001380 4EAD 098A jsr [A5 + 0x98A]
00001384 302E 0008 move.w D0, [A6 + 0x8]
00001388 670C beq +0xE /* 00001396 */
0000138A 5540 subq.w D0, 2
0000138C 676E beq +0x70 /* 000013FC */
0000138E 5340 subq.w D0, 1
00001390 676A beq +0x6C /* 000013FC */
00001392 6000 06FA bra +0x6FC /* 00001A8E */
label00001396:
00001396 4267 clr.w -[A7]
00001398 2F2B 0348 move.l -[A7], [A3 + 0x348]
0000139C 4EAD 0472 jsr [A5 + 0x472]
// begin alternate branch 0000139E-000013AE
fn0000139E:
0000139E 0472 101F 6700 subi.w [A2 + <<invalid base displacement size>> + D6 * 8], 0x101F
label000013A3: // (misaligned)
000013A4 06F0 3D6B 0240 F998 2F0B addi.? [[A0 + 0x240] - 0x667D0F5], 0xFFFFFFFFFFFFFFFF
// end alternate branch 0000139E-000013AE
fn0000139E: // (misaligned)
000013A0 101F move.b D0, [A7]+
000013A2 6700 06F0 beq +0x6F2 /* 00001A94 */
label000013A3: // (misaligned)
label000013A5: // (misaligned)
000013A6 3D6B 0240 F998 move.w [A6 - 0x668], [A3 + 0x240]
// begin alternate branch 000013A8-000013AC
label000013A8:
000013A8 0240 F998 andi.w D0, 0xF998
// end alternate branch 000013A8-000013AC
label000013A8: // (misaligned)
label000013AC:
000013AC 2F0B move.l -[A7], A3
label000013AD: // (misaligned)
000013AE 4EAD 0ACA jsr [A5 + 0xACA]
label000013B2:
000013B2 2F0B move.l -[A7], A3
000013B4 4EAD 09BA jsr [A5 + 0x9BA]
label000013B7: // (misaligned)
000013B8 3F2E F998 move.w -[A7], [A6 - 0x668]
000013BC 2F2B 023C move.l -[A7], [A3 + 0x23C]
label000013C0:
000013C0 4EAD 03B2 jsr [A5 + 0x3B2]
000013C4 2F0B move.l -[A7], A3
000013C6 4EAD 09B2 jsr [A5 + 0x9B2]
000013CA 486E FFD8 pea.l [A6 - 0x28]
000013CE A874 trap GetPort
fn000013D0:
000013D0 2F0B move.l -[A7], A3
000013D2 A873 trap SetPort
000013D4 2F2B 023C move.l -[A7], [A3 + 0x23C]
label000013D8:
000013D8 A9D0 trap TECalText
000013DA 41EE FFC2 lea.l A0, [A6 - 0x3E]
000013DE 43EB 0010 lea.l A1, [A3 + 0x10]
000013E2 20D9 move.l [A0]+, [A1]+
000013E4 20D9 move.l [A0]+, [A1]+
000013E6 486E FFC2 pea.l [A6 - 0x3E]
000013EA A928 trap InvalRect
000013EC 2F2E FFD8 move.l -[A7], [A6 - 0x28]
000013F0 A873 trap SetPort
000013F2 2F0B move.l -[A7], A3
000013F4 4EAD 09AA jsr [A5 + 0x9AA]
000013F8 6000 069A bra +0x69C /* 00001A94 */
label000013FC:
000013FC 4267 clr.w -[A7]
000013FE 2F2B 0348 move.l -[A7], [A3 + 0x348]
00001402 4EAD 047A jsr [A5 + 0x47A]
00001406 101F move.b D0, [A7]+
00001408 6700 068A beq +0x68C /* 00001A94 */
0000140C 4EBA F1AE jsr [PC - 0xE52 /* 000005BC */]
00001410 2F0B move.l -[A7], A3
00001412 486E F99A pea.l [A6 - 0x666]
00001416 A919 trap GetWTitle
00001418 7003 moveq.l D0, 0x03
0000141A B06E 0008 cmp.w D0, [A6 + 0x8]
0000141E 663C bne +0x3E /* 0000145C */
00001420 486E FD9A pea.l [A6 - 0x266]
00001424 2F3C 0007 0081 move.l -[A7], 0x70081
0000142A 4EAD 042A jsr [A5 + 0x42A]
0000142E 486E F99A pea.l [A6 - 0x666]
00001432 486E FD9A pea.l [A6 - 0x266]
00001436 486E F7C4 pea.l [A6 - 0x83C]
0000143A 3F3C 0002 move.w -[A7], 0x2
0000143E 4EAD 0F32 jsr [A5 + 0xF32]
00001442 41EE F7C4 lea.l A0, [A6 - 0x83C]
00001446 1F10 move.b -[A7], [A0]
00001448 3F3C 00FF move.w -[A7], 0xFF
0000144C 4EAD 0F22 jsr [A5 + 0xF22]
00001450 43EE F99A lea.l A1, [A6 - 0x666]
00001454 703F moveq.l D0, 0x3F
label00001456:
00001456 22D8 move.l [A1]+, [A0]+
00001458 51C8 FFFC dbf D0, -0x6 /* 00001456 */
label0000145C:
0000145C 487A 066A pea.l [PC + 0x66A /* 00001AC8 */]
00001460 41EE F99A lea.l A0, [A6 - 0x666]
00001464 1F10 move.b -[A7], [A0]
00001466 3F3C 00FF move.w -[A7], 0xFF
0000146A 4EAD 0F22 jsr [A5 + 0xF22]
0000146E 2F08 move.l -[A7], A0
00001470 487A 0656 pea.l [PC + 0x656 /* 00001AC8 */]
00001474 487A 0652 pea.l [PC + 0x652 /* 00001AC8 */]
00001478 A98B trap ParamText
0000147A 42A7 clr.l -[A7]
0000147C 3F3C 0082 move.w -[A7], 0x82
00001480 42A7 clr.l -[A7]
00001482 70FF moveq.l D0, 0xFFFFFFFF
00001484 2F00 move.l -[A7], D0
00001486 A97C trap GetNewDialog
00001488 2D57 FFDE move.l [A6 - 0x22], [A7]
0000148C A981 trap DrawDialog
0000148E 486E F986 pea.l [A6 - 0x67A]
00001492 4EAD 03E2 jsr [A5 + 0x3E2]
00001496 2F2E F986 move.l -[A7], [A6 - 0x67A]
0000149A 4267 clr.w -[A7]
0000149C 486E FC9A pea.l [A6 - 0x366]
000014A0 4267 clr.w -[A7]
000014A2 A9ED trap Pack6
000014A4 2D7C 022C 2020 FD9A move.l [A6 - 0x266], 0x22C2020
000014AC 486E FC9A pea.l [A6 - 0x366]
000014B0 486E FD9A pea.l [A6 - 0x266]
000014B4 486E F7C4 pea.l [A6 - 0x83C]
000014B8 3F3C 0002 move.w -[A7], 0x2
000014BC 4EAD 0F32 jsr [A5 + 0xF32]
000014C0 41EE F7C4 lea.l A0, [A6 - 0x83C]
000014C4 1F10 move.b -[A7], [A0]
000014C6 3F3C 00FF move.w -[A7], 0xFF
000014CA 4EAD 0F22 jsr [A5 + 0xF22]
000014CE 43EE FC9A lea.l A1, [A6 - 0x366]
000014D2 703F moveq.l D0, 0x3F
label000014D4:
000014D4 22D8 move.l [A1]+, [A0]+
000014D6 51C8 FFFC dbf D0, -0x6 /* 000014D4 */
000014DA 2F2E F986 move.l -[A7], [A6 - 0x67A]
000014DE 4267 clr.w -[A7]
000014E0 486E FD9A pea.l [A6 - 0x266]
000014E4 3F3C 0002 move.w -[A7], 0x2
000014E8 A9ED trap Pack6
000014EA 486E FC9A pea.l [A6 - 0x366]
000014EE 486E FD9A pea.l [A6 - 0x266]
000014F2 486E F7C4 pea.l [A6 - 0x83C]
000014F6 3F3C 0002 move.w -[A7], 0x2
000014FA 4EAD 0F32 jsr [A5 + 0xF32]
000014FE 41EE F7C4 lea.l A0, [A6 - 0x83C]
00001502 1F10 move.b -[A7], [A0]
00001504 3F3C 00FF move.w -[A7], 0xFF
00001508 4EAD 0F22 jsr [A5 + 0xF22]
0000150C 43EE FC9A lea.l A1, [A6 - 0x366]
00001510 703F moveq.l D0, 0x3F
label00001512:
00001512 22D8 move.l [A1]+, [A0]+
00001514 51C8 FFFC dbf D0, -0x6 /* 00001512 */
00001518 486E FFD8 pea.l [A6 - 0x28]
0000151C A874 trap GetPort
0000151E 42A7 clr.l -[A7]
00001520 2F2B 0348 move.l -[A7], [A3 + 0x348]
00001524 42A7 clr.l -[A7]
00001526 42A7 clr.l -[A7]
00001528 4EAD 0452 jsr [A5 + 0x452]
0000152C 2D5F FFFC move.l [A6 - 0x4], [A7]+
00001530 486E F7BC pea.l [A6 - 0x844]
00001534 2F2B 0348 move.l -[A7], [A3 + 0x348]
00001538 4EAD 0A82 jsr [A5 + 0xA82]
0000153C 205F movea.l A0, [A7]+
0000153E 43EE FFA2 lea.l A1, [A6 - 0x5E]
00001542 22D8 move.l [A1]+, [A0]+
00001544 22D8 move.l [A1]+, [A0]+
00001546 41EE FFAA lea.l A0, [A6 - 0x56]
0000154A 43EE FFA2 lea.l A1, [A6 - 0x5E]
0000154E 20D9 move.l [A0]+, [A1]+
00001550 20D9 move.l [A0]+, [A1]+
00001552 41EE FFB2 lea.l A0, [A6 - 0x4E]
00001556 43EE FFA2 lea.l A1, [A6 - 0x5E]
0000155A 20D9 move.l [A0]+, [A1]+
0000155C 20D9 move.l [A0]+, [A1]+
0000155E 486E FD9A pea.l [A6 - 0x266]
00001562 2F3C 0001 0081 move.l -[A7], 0x10081
00001568 4EAD 042A jsr [A5 + 0x42A]
0000156C 41EE FD9A lea.l A0, [A6 - 0x266]
00001570 1F10 move.b -[A7], [A0]
00001572 3F3C 00FF move.w -[A7], 0xFF
00001576 4EAD 0F22 jsr [A5 + 0xF22]
0000157A 2F08 move.l -[A7], A0
0000157C 486E FFD6 pea.l [A6 - 0x2A]
00001580 A900 trap GetFNum
00001582 42A7 clr.l -[A7]
00001584 2F3C 0002 0081 move.l -[A7], 0x20081
0000158A 4EBA ED2E jsr [PC - 0x12D2 /* 000002BA */]
0000158E 2D5F FFCA move.l [A6 - 0x36], [A7]+
00001592 3F2E FFD6 move.w -[A7], [A6 - 0x2A]
00001596 A887 trap TextFont
00001598 3F2E FFCC move.w -[A7], [A6 - 0x34]
0000159C A88A trap TextSize
0000159E 3F3A 0538 move.w -[A7], [PC + 0x538 /* 00001AD8 */]
000015A2 A888 trap TextFace
000015A4 486E FF9A pea.l [A6 - 0x66]
000015A8 A88B trap GetFontInfo
000015AA 302E FF9A move.w D0, [A6 - 0x66]
000015AE D06E FFA2 add.w D0, [A6 - 0x5E]
000015B2 322E FF9C move.w D1, [A6 - 0x64]
000015B6 D240 add.w D1, D0
000015B8 302E FFA0 move.w D0, [A6 - 0x60]
000015BC D041 add.w D0, D1
000015BE 5240 addq.w D0, 1
000015C0 3D40 FFA6 move.w [A6 - 0x5A], D0
000015C4 302E FF9C move.w D0, [A6 - 0x64]
000015C8 D06E FF9A add.w D0, [A6 - 0x66]
000015CC 322E FFA0 move.w D1, [A6 - 0x60]
000015D0 D240 add.w D1, D0
000015D2 5241 addq.w D1, 1
000015D4 302E FFAE move.w D0, [A6 - 0x52]
000015D8 9041 sub.w D0, D1
000015DA 3D40 FFAA move.w [A6 - 0x56], D0
000015DE 486E FA9A pea.l [A6 - 0x566]
000015E2 2F3C 0003 0081 move.l -[A7], 0x30081
000015E8 4EAD 042A jsr [A5 + 0x42A]
000015EC 486E FB9A pea.l [A6 - 0x466]
000015F0 2F3C 0004 0081 move.l -[A7], 0x40081
000015F6 4EAD 042A jsr [A5 + 0x42A]
000015FA 42A7 clr.l -[A7]
000015FC 2F3C 0005 0081 move.l -[A7], 0x50081
00001602 4EBA ECB6 jsr [PC - 0x134A /* 000002BA */]
00001606 2D5F FFCE move.l [A6 - 0x32], [A7]+
0000160A 302E FFA6 move.w D0, [A6 - 0x5A]
0000160E 48C0 ext.l D0
00001610 222E FFCE move.l D1, [A6 - 0x32]
00001614 D280 add.l D1, D0
00001616 3D41 FFB2 move.w [A6 - 0x4E], D1
0000161A 42A7 clr.l -[A7]
0000161C 2F3C 0006 0081 move.l -[A7], 0x60081
00001622 4EBA EC96 jsr [PC - 0x136A /* 000002BA */]
00001626 2D5F FFD2 move.l [A6 - 0x2E], [A7]+
0000162A 302E FFAA move.w D0, [A6 - 0x56]
0000162E 48C0 ext.l D0
00001630 90AE FFD2 sub.l D0, [A6 - 0x2E]
00001634 3D40 FFB6 move.w [A6 - 0x4A], D0
00001638 41EE FFBA lea.l A0, [A6 - 0x46]
0000163C 43EE FFAA lea.l A1, [A6 - 0x56]
00001640 20D9 move.l [A0]+, [A1]+
00001642 20D9 move.l [A0]+, [A1]+
00001644 302E FF9C move.w D0, [A6 - 0x64]
00001648 916E FFBE sub.w [A6 - 0x42], D0
0000164C 302E FFBE move.w D0, [A6 - 0x42]
00001650 5140 subq.w D0, 8
00001652 3D40 FFBA move.w [A6 - 0x46], D0
00001656 302E FFC0 move.w D0, [A6 - 0x40]
0000165A 5140 subq.w D0, 8
0000165C 3D40 FFBC move.w [A6 - 0x44], D0
00001660 4246 clr.w D6
00001662 206B 023C movea.l A0, [A3 + 0x23C]
00001666 2050 movea.l A0, [A0]
00001668 3A28 005E move.w D5, [A0 + 0x5E]
0000166C 7003 moveq.l D0, 0x03
0000166E B06E 0008 cmp.w D0, [A6 + 0x8]
00001672 6648 bne +0x4A /* 000016BC */
label00001674:
00001674 206B 023C movea.l A0, [A3 + 0x23C]
00001678 2050 movea.l A0, [A0]
0000167A 3006 move.w D0, D6
0000167C 41BC 3E80 D040 .invalid 0, 0x3E80D040 // invalid opcode 4 with b == 6
00001682 226B 023C movea.l A1, [A3 + 0x23C]
00001686 2251 movea.l A1, [A1]
00001688 3230 0060 move.w D1, [A0 + D0.w + 0x60]
0000168C B269 0020 cmp.w D1, [A1 + 0x20]
00001690 6E04 bgt +0x6 /* 00001696 */
00001692 5246 addq.w D6, 1
00001694 60DE bra -0x20 /* 00001674 */
label00001696:
00001696 5346 subq.w D6, 1
00001698 3A06 move.w D5, D6
label0000169A:
0000169A 206B 023C movea.l A0, [A3 + 0x23C]
0000169E 2050 movea.l A0, [A0]
000016A0 3005 move.w D0, D5
000016A2 41BC 3E80 D040 .invalid 0, 0x3E80D040 // invalid opcode 4 with b == 6
000016A8 226B 023C movea.l A1, [A3 + 0x23C]
000016AC 2251 movea.l A1, [A1]
000016AE 3230 0060 move.w D1, [A0 + D0.w + 0x60]
000016B2 B269 0022 cmp.w D1, [A1 + 0x22]
000016B6 6E04 bgt +0x6 /* 000016BC */
000016B8 5245 addq.w D5, 1
000016BA 60DE bra -0x20 /* 0000169A */
label000016BC:
000016BC 3E06 move.w D7, D6
000016BE 4267 clr.w -[A7]
000016C0 486E F97A pea.l [A6 - 0x686]
000016C4 486E F976 pea.l [A6 - 0x68A]
000016C8 486E F978 pea.l [A6 - 0x688]
000016CC 2F2B 023C move.l -[A7], [A3 + 0x23C]
000016D0 3F3C 0003 move.w -[A7], 0x3
label000016D3: // (misaligned)
000016D4 A83D trap TEDispatch
000016D6 302E FFB6 move.w D0, [A6 - 0x4A]
000016DA 906E FFB2 sub.w D0, [A6 - 0x4E]
000016DE 48C0 ext.l D0
000016E0 81EE F976 divs.w D0, [A6 - 0x68A]
000016E4 3D40 F98A move.w [A6 - 0x676], D0
000016E8 426E FFDC clr.w [A6 - 0x24]
000016EC 422E F975 clr.b [A6 - 0x68B]
label000016F0:
000016F0 526E FFDC addq.w [A6 - 0x24], 1
000016F4 4267 clr.w -[A7]
000016F6 4EAD 048A jsr [A5 + 0x48A]
000016FA 4A5F tst.w [A7]+
000016FC 6600 02A4 bne +0x2A6 /* 000019A2 */
00001700 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001704 42A7 clr.l -[A7]
00001706 4EAD 0462 jsr [A5 + 0x462]
0000170A 3F2E FFD6 move.w -[A7], [A6 - 0x2A]
0000170E A887 trap TextFont
00001710 3F2E FFCC move.w -[A7], [A6 - 0x34]
00001714 A88A trap TextSize
00001716 3F3A 03C0 move.w -[A7], [PC + 0x3C0 /* 00001AD8 */]
0000171A A888 trap TextFace
0000171C 302E FFA4 move.w D0, [A6 - 0x5C]
00001720 D06E FFA8 add.w D0, [A6 - 0x58]
00001724 2F00 move.l -[A7], D0
00001726 4267 clr.w -[A7]
00001728 41EE F99A lea.l A0, [A6 - 0x666]
0000172C 1F10 move.b -[A7], [A0]
0000172E 3F3C 00FF move.w -[A7], 0xFF
00001732 4EAD 0F22 jsr [A5 + 0xF22]
00001736 2F08 move.l -[A7], A0
00001738 A88C trap StringWidth
0000173A 321F move.w D1, [A7]+
0000173C 201F move.l D0, [A7]+
0000173E 9041 sub.w D0, D1
00001740 48C0 ext.l D0
00001742 81FC 0002 divs.w D0, 0x2
00001746 3F00 move.w -[A7], D0
00001748 302E FFA6 move.w D0, [A6 - 0x5A]
0000174C 906E FF9C sub.w D0, [A6 - 0x64]
00001750 3F00 move.w -[A7], D0
00001752 A893 trap MoveTo
00001754 41EE F99A lea.l A0, [A6 - 0x666]
00001758 1F10 move.b -[A7], [A0]
0000175A 3F3C 00FF move.w -[A7], 0xFF
0000175E 4EAD 0F22 jsr [A5 + 0xF22]
00001762 2F08 move.l -[A7], A0
00001764 A884 trap DrawString
00001766 3F2E FFA4 move.w -[A7], [A6 - 0x5C]
0000176A 302E FFA6 move.w D0, [A6 - 0x5A]
0000176E 906E FF9C sub.w D0, [A6 - 0x64]
00001772 3F00 move.w -[A7], D0
00001774 A893 trap MoveTo
00001776 41EE FC9A lea.l A0, [A6 - 0x366]
0000177A 1F10 move.b -[A7], [A0]
0000177C 3F3C 00FF move.w -[A7], 0xFF
00001780 4EAD 0F22 jsr [A5 + 0xF22]
00001784 2F08 move.l -[A7], A0
00001786 A884 trap DrawString
00001788 3F2E F97A move.w -[A7], [A6 - 0x686]
0000178C A887 trap TextFont
0000178E 3F2E F97E move.w -[A7], [A6 - 0x682]
00001792 A88A trap TextSize
00001794 3F3A 0342 move.w -[A7], [PC + 0x342 /* 00001AD8 */]
00001798 A888 trap TextFace
0000179A 206B 023C movea.l A0, [A3 + 0x23C]
0000179E 2850 movea.l A4, [A0]
000017A0 3D47 F98E move.w [A6 - 0x672], D7
000017A4 382E F98A move.w D4, [A6 - 0x676]
000017A8 D847 add.w D4, D7
000017AA BA44 cmp.w D5, D4
000017AC 6E0A bgt +0xC /* 000017B8 */
000017AE 3805 move.w D4, D5
000017B0 5344 subq.w D4, 1
000017B2 1D7C 0001 F975 move.b [A6 - 0x68B], 0x1
label000017B8:
000017B8 3D44 F7BA move.w [A6 - 0x846], D4
000017BC 3E2E F98E move.w D7, [A6 - 0x672]
000017C0 6000 00E0 bra +0xE2 /* 000018A2 */
label000017C4:
000017C4 3F2E FFB4 move.w -[A7], [A6 - 0x4C]
000017C8 3007 move.w D0, D7
000017CA 906E F98E sub.w D0, [A6 - 0x672]
000017CE C1EE F976 muls.w D0, [A6 - 0x68A]
000017D2 D06E FFB2 add.w D0, [A6 - 0x4E]
000017D6 322E F978 move.w D1, [A6 - 0x688]
000017DA D240 add.w D1, D0
000017DC 3F01 move.w -[A7], D1
000017DE A893 trap MoveTo
000017E0 7003 moveq.l D0, 0x03
000017E2 B06E 0008 cmp.w D0, [A6 + 0x8]
000017E6 57C0 seq D0
000017E8 BC47 cmp.w D6, D7
000017EA 57C1 seq D1
000017EC C001 and.b D0, D1
000017EE 6738 beq +0x3A /* 00001828 */
000017F0 206C 003E movea.l A0, [A4 + 0x3E]
000017F4 302C 0020 move.w D0, [A4 + 0x20]
000017F8 48C0 ext.l D0
000017FA D090 add.l D0, [A0]
000017FC 720D moveq.l D1, 0x0D
000017FE 43BC 00FF B240 .invalid 1, 0xFFB240 // invalid opcode 4 with b == 6
00001804 57C0 seq D0
00001806 322C 0020 move.w D1, [A4 + 0x20]
0000180A B26C 0022 cmp.w D1, [A4 + 0x22]
0000180E 5DC1 slt D1
00001810 C001 and.b D0, D1
00001812 670C beq +0xE /* 00001820 */
00001814 302C 0020 move.w D0, [A4 + 0x20]
00001818 5240 addq.w D0, 1
0000181A 3D40 F992 move.w [A6 - 0x66E], D0
0000181E 6016 bra +0x18 /* 00001836 */
label00001820:
00001820 3D6C 0020 F992 move.w [A6 - 0x66E], [A4 + 0x20]
00001826 600E bra +0x10 /* 00001836 */
label00001828:
00001828 3007 move.w D0, D7
0000182A 41BC 3E80 D040 .invalid 0, 0x3E80D040 // invalid opcode 4 with b == 6
00001830 3D74 0060 F992 move.w [A6 - 0x66E], [A4 + D0.w + 0x60]
label00001836:
00001836 7003 moveq.l D0, 0x03
00001838 B06E 0008 cmp.w D0, [A6 + 0x8]
0000183C 57C0 seq D0
0000183E 3205 move.w D1, D5
00001840 5341 subq.w D1, 1
00001842 B247 cmp.w D1, D7
00001844 57C1 seq D1
00001846 C001 and.b D0, D1
00001848 6708 beq +0xA /* 00001852 */
0000184A 3D6C 0022 F994 move.w [A6 - 0x66C], [A4 + 0x22]
00001850 6010 bra +0x12 /* 00001862 */
label00001852:
00001852 3007 move.w D0, D7
00001854 5240 addq.w D0, 1
00001856 41BC 3E80 D040 .invalid 0, 0x3E80D040 // invalid opcode 4 with b == 6
0000185C 3D74 0060 F994 move.w [A6 - 0x66C], [A4 + D0.w + 0x60]
label00001862:
00001862 302E F994 move.w D0, [A6 - 0x66C]
00001866 906E F992 sub.w D0, [A6 - 0x66E]
0000186A 3D40 F996 move.w [A6 - 0x66A], D0
0000186E 206C 003E movea.l A0, [A4 + 0x3E]
00001872 302E F994 move.w D0, [A6 - 0x66C]
00001876 48C0 ext.l D0
00001878 D090 add.l D0, [A0]
0000187A 720D moveq.l D1, 0x0D
0000187C 43BC 00FF B240 .invalid 1, 0xFFB240 // invalid opcode 4 with b == 6
00001882 6604 bne +0x6 /* 00001888 */
00001884 536E F996 subq.w [A6 - 0x66A], 1
label00001888:
00001888 4A6E F996 tst.w [A6 - 0x66A]
0000188C 6F10 ble +0x12 /* 0000189E */
0000188E 206C 003E movea.l A0, [A4 + 0x3E]
00001892 2F10 move.l -[A7], [A0]
00001894 3F2E F992 move.w -[A7], [A6 - 0x66E]
00001898 3F2E F996 move.w -[A7], [A6 - 0x66A]
0000189C A885 trap DrawText
label0000189E:
0000189E 5247 addq.w D7, 1
000018A0 6908 bvs +0xA /* 000018AA */
label000018A2:
000018A2 BE6E F7BA cmp.w D7, [A6 - 0x846]
000018A6 6F00 FF1C ble -0xE2 /* 000017C4 */
label000018AA:
000018AA 3E04 move.w D7, D4
000018AC 5247 addq.w D7, 1
000018AE 3F2E FFD6 move.w -[A7], [A6 - 0x2A]
000018B2 A887 trap TextFont
000018B4 3F2E FFCC move.w -[A7], [A6 - 0x34]
000018B8 A88A trap TextSize
000018BA 3F3A 021C move.w -[A7], [PC + 0x21C /* 00001AD8 */]
000018BE A888 trap TextFace
000018C0 302E FFDC move.w D0, [A6 - 0x24]
000018C4 48C0 ext.l D0
000018C6 2F00 move.l -[A7], D0
000018C8 486E FD9A pea.l [A6 - 0x266]
000018CC 4EAD 044A jsr [A5 + 0x44A]
000018D0 486E FA9A pea.l [A6 - 0x566]
000018D4 486E FD9A pea.l [A6 - 0x266]
000018D8 486E FB9A pea.l [A6 - 0x466]
000018DC 486E F7C4 pea.l [A6 - 0x83C]
000018E0 3F3C 0003 move.w -[A7], 0x3
000018E4 4EAD 0F32 jsr [A5 + 0xF32]
000018E8 41EE F7C4 lea.l A0, [A6 - 0x83C]
000018EC 1F10 move.b -[A7], [A0]
000018EE 3F3C 00FF move.w -[A7], 0xFF
000018F2 4EAD 0F22 jsr [A5 + 0xF22]
000018F6 43EE FD9A lea.l A1, [A6 - 0x266]
000018FA 703F moveq.l D0, 0x3F
label000018FC:
000018FC 22D8 move.l [A1]+, [A0]+
000018FE 51C8 FFFC dbf D0, -0x6 /* 000018FC */
00001902 302E FFAC move.w D0, [A6 - 0x54]
00001906 D06E FFB0 add.w D0, [A6 - 0x50]
0000190A 2F00 move.l -[A7], D0
0000190C 4267 clr.w -[A7]
0000190E 41EE FD9A lea.l A0, [A6 - 0x266]
00001912 1F10 move.b -[A7], [A0]
00001914 3F3C 00FF move.w -[A7], 0xFF
00001918 4EAD 0F22 jsr [A5 + 0xF22]
0000191C 2F08 move.l -[A7], A0
0000191E A88C trap StringWidth
00001920 321F move.w D1, [A7]+
00001922 201F move.l D0, [A7]+
00001924 9041 sub.w D0, D1
00001926 48C0 ext.l D0
00001928 81FC 0002 divs.w D0, 0x2
0000192C 3F00 move.w -[A7], D0
0000192E 302E FFAE move.w D0, [A6 - 0x52]
00001932 906E FF9C sub.w D0, [A6 - 0x64]
00001936 5340 subq.w D0, 1
00001938 3F00 move.w -[A7], D0
0000193A A893 trap MoveTo
0000193C 41EE FD9A lea.l A0, [A6 - 0x266]
00001940 1F10 move.b -[A7], [A0]
00001942 3F3C 00FF move.w -[A7], 0xFF
00001946 4EAD 0F22 jsr [A5 + 0xF22]
0000194A 2F08 move.l -[A7], A0
0000194C A884 trap DrawString
0000194E 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00001952 A88A trap TextSize
00001954 3F2E FFAC move.w -[A7], [A6 - 0x54]
00001958 302E FFAE move.w D0, [A6 - 0x52]
0000195C 906E FF9C sub.w D0, [A6 - 0x64]
00001960 5340 subq.w D0, 1
00001962 3F00 move.w -[A7], D0
00001964 A893 trap MoveTo
00001966 487A 0162 pea.l [PC + 0x162 /* 00001ACA, pstring "Open Prolog " */]
0000196A 486D FDFA pea.l [A5 - 0x206]
0000196E 486E F7C4 pea.l [A6 - 0x83C]
00001972 3F3C 0002 move.w -[A7], 0x2
00001976 4EAD 0F32 jsr [A5 + 0xF32]
0000197A 41EE F7C4 lea.l A0, [A6 - 0x83C]
0000197E 1F10 move.b -[A7], [A0]
00001980 3F3C 00FF move.w -[A7], 0xFF
00001984 4EAD 0F22 jsr [A5 + 0xF22]
00001988 2F08 move.l -[A7], A0
0000198A A884 trap DrawString
0000198C 486E FFBA pea.l [A6 - 0x46]
00001990 42A7 clr.l -[A7]
00001992 3F3C 0080 move.w -[A7], 0x80
00001996 A9BB trap GetIcon
00001998 A94B trap PlotIcon
0000199A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000199E 4EAD 046A jsr [A5 + 0x46A]
label000019A2:
000019A2 4267 clr.w -[A7]
000019A4 4EAD 048A jsr [A5 + 0x48A]
000019A8 4A5F tst.w [A7]+
000019AA 56C0 sne D0
000019AC 802E F975 or.b D0, [A6 - 0x68B]
000019B0 0240 0001 andi.w D0, 0x1
000019B4 6700 FD3A beq -0x2C4 /* 000016F0 */
000019B8 2F2E FFFC move.l -[A7], [A6 - 0x4]
000019BC 4EAD 045A jsr [A5 + 0x45A]
000019C0 2F2E FFD8 move.l -[A7], [A6 - 0x28]
000019C4 A873 trap SetPort
000019C6 206B 0348 movea.l A0, [A3 + 0x348]
000019CA 2050 movea.l A0, [A0]
000019CC 7001 moveq.l D0, 0x01
000019CE B028 0044 cmp.b D0, [A0 + 0x44]
000019D2 57C0 seq D0
000019D4 2F00 move.l -[A7], D0
000019D6 4267 clr.w -[A7]
000019D8 4EAD 048A jsr [A5 + 0x48A]
000019DC 321F move.w D1, [A7]+
000019DE 201F move.l D0, [A7]+
000019E0 4A41 tst.w D1
000019E2 57C1 seq D1
000019E4 C001 and.b D0, D1
000019E6 6712 beq +0x14 /* 000019FA */
000019E8 2F2B 0348 move.l -[A7], [A3 + 0x348]
000019EC 42A7 clr.l -[A7]
000019EE 42A7 clr.l -[A7]
000019F0 42A7 clr.l -[A7]
000019F2 486E FFE2 pea.l [A6 - 0x1E]
000019F6 4EAD 0482 jsr [A5 + 0x482]
label000019FA:
000019FA 2F2E FFDE move.l -[A7], [A6 - 0x22]
000019FE A983 trap DisposeDialog
00001A00 4267 clr.w -[A7]
00001A02 4EAD 048A jsr [A5 + 0x48A]
00001A06 4A5F tst.w [A7]+
00001A08 6700 008A beq +0x8C /* 00001A94 */
00001A0C 4267 clr.w -[A7]
00001A0E 4EAD 048A jsr [A5 + 0x48A]
00001A12 0C5F 0080 cmpi.w [A7]+, 0x80
00001A16 662E bne +0x30 /* 00001A46 */
00001A18 41EE F99A lea.l A0, [A6 - 0x666]
00001A1C 1F10 move.b -[A7], [A0]
00001A1E 3F3C 00FF move.w -[A7], 0xFF
00001A22 4EAD 0F22 jsr [A5 + 0xF22]
00001A26 2F08 move.l -[A7], A0
00001A28 487A 009E pea.l [PC + 0x9E /* 00001AC8 */]
00001A2C 487A 009A pea.l [PC + 0x9A /* 00001AC8 */]
00001A30 487A 0096 pea.l [PC + 0x96 /* 00001AC8 */]
00001A34 A98B trap ParamText
00001A36 2F3C 00CD 0000 move.l -[A7], 0xCD0000
00001A3C 42A7 clr.l -[A7]
00001A3E A987 trap NoteAlert
00001A40 3D5F F998 move.w [A6 - 0x668], [A7]+
00001A44 604E bra +0x50 /* 00001A94 */
label00001A46:
00001A46 4267 clr.w -[A7]
00001A48 4EAD 048A jsr [A5 + 0x48A]
00001A4C 486E FD9A pea.l [A6 - 0x266]
00001A50 4EAD 0F0A jsr [A5 + 0xF0A]
00001A54 41EE F99A lea.l A0, [A6 - 0x666]
00001A58 1F10 move.b -[A7], [A0]
00001A5A 3F3C 00FF move.w -[A7], 0xFF
00001A5E 4EAD 0F22 jsr [A5 + 0xF22]
00001A62 2F08 move.l -[A7], A0
00001A64 41EE FD9A lea.l A0, [A6 - 0x266]
00001A68 1F10 move.b -[A7], [A0]
00001A6A 3F3C 00FF move.w -[A7], 0xFF
00001A6E 4EAD 0F22 jsr [A5 + 0xF22]
00001A72 2F08 move.l -[A7], A0
00001A74 487A 0052 pea.l [PC + 0x52 /* 00001AC8 */]
00001A78 487A 004E pea.l [PC + 0x4E /* 00001AC8 */]
00001A7C A98B trap ParamText
00001A7E 2F3C 00CE 0000 move.l -[A7], 0xCE0000
00001A84 42A7 clr.l -[A7]
00001A86 A988 trap CautionAlert
00001A88 3D5F F998 move.w [A6 - 0x668], [A7]+
00001A8C 6006 bra +0x8 /* 00001A94 */
label00001A8E:
00001A8E 3F3C 000A move.w -[A7], 0xA /* '\n' */
00001A92 A9C8 trap SysBeep
label00001A94:
00001A94 4EAD 049A jsr [A5 + 0x49A]
00001A98 4EAD 0982 jsr [A5 + 0x982]
00001A9C 6008 bra +0xA /* 00001AA6 */
label00001A9E:
00001A9E 3F3C 001A move.w -[A7], 0x1A
00001AA2 4EAD 04FA jsr [A5 + 0x4FA]
label00001AA5: // (misaligned)
label00001AA6:
00001AA6 4CDF 18F0 movem.l A4,A3,D7,D6,D5,D4, [A7]+
00001AAA 4E5E unlink A6
00001AAC 205F movea.l A0, [A7]+
00001AAE 5C4F addq.w A7, 6
00001AB0 4ED0 jmp [A0]
00001AB2 9350 sub.w [A0], D1
00001AB4 5249 addq.w A1, 1
00001AB6 4E54 5354 link A4, -0xFFFFACAC
00001ABA 414E chk.w D0, A6
00001ABC 4441 neg.w D1
00001ABE 5244 addq.w D4, 1
00001AC0 5749 subq.w A1, 3
00001AC2 4E44 trap 4
00001AC4 4F57 chk.w D7, [A7]
00001AC6 0012 0000 ori.b [A2], 0x0
00001ACA 0C4F 7065 cmpi.w A7, 0x7065 /* 'pe' */
00001ACE 6E20 bgt +0x22 /* 00001AF0 */
00001AD0 5072 6F6C addq.w <<invalid full ext with I/IS == 4>>, 8
00001AD4 6F67 ble +0x69 /* 00001B3D */
00001AD6 2000 move.l D0, D0
00001AD8 0000 4E56 ori.b D0, 0x56 /* 'V' */
00001ADC FFFA .extension 0xFFA // unimplemented
00001ADE 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001AE2 266E 000A movea.l A3, [A6 + 0xA]
00001AE6 3C2E 0008 move.w D6, [A6 + 0x8]
00001AEA 7E0A moveq.l D7, 0x0A
00001AEC 7016 moveq.l D0, 0x16
00001AEE B046 cmp.w D0, D6
label00001AF0:
00001AF0 57C0 seq D0
00001AF2 7217 moveq.l D1, 0x17
00001AF4 B246 cmp.w D1, D6
00001AF6 57C1 seq D1
00001AF8 8001 or.b D0, D1
00001AFA 672C beq +0x2E /* 00001B28 */
00001AFC 2053 movea.l A0, [A3]
00001AFE 2068 0004 movea.l A0, [A0 + 0x4]
00001B02 2068 023C movea.l A0, [A0 + 0x23C]
00001B06 2050 movea.l A0, [A0]
00001B08 49E8 0008 lea.l A4, [A0 + 0x8]
00001B0C 42A7 clr.l -[A7]
00001B0E 302C 0006 move.w D0, [A4 + 0x6]
00001B12 906C 0002 sub.w D0, [A4 + 0x2]
00001B16 907C 000A sub.w D0, 0xA /* '\n' */
00001B1A 48C0 ext.l D0
00001B1C 2F00 move.l -[A7], D0
00001B1E 42A7 clr.l -[A7]
00001B20 4EBA E96E jsr [PC - 0x1692 /* 00000490 */]
00001B24 201F move.l D0, [A7]+
00001B26 3E00 move.w D7, D0
label00001B28:
00001B28 3006 move.w D0, D6
00001B2A 0440 0014 subi.w D0, 0x14
00001B2E 6710 beq +0x12 /* 00001B40 */
00001B30 5340 subq.w D0, 1
00001B32 6758 beq +0x5A /* 00001B8C */
00001B34 5340 subq.w D0, 1
00001B36 6708 beq +0xA /* 00001B40 */
00001B38 5340 subq.w D0, 1
00001B3A 6750 beq +0x52 /* 00001B8C */
00001B3C 6000 0098 bra +0x9A /* 00001BD6 */
label00001B3D: // (misaligned)
label00001B40:
00001B40 4267 clr.w -[A7]
00001B42 2F0B move.l -[A7], A3
00001B44 A960 trap GetControlValue/GetCtlValue
00001B46 301F move.w D0, [A7]+
00001B48 48C0 ext.l D0
00001B4A 2F00 move.l -[A7], D0
00001B4C 42A7 clr.l -[A7]
00001B4E 2F00 move.l -[A7], D0
00001B50 4267 clr.w -[A7]
00001B52 2F0B move.l -[A7], A3
00001B54 A961 trap GetControlMinimum/GetMinCtl
label00001B56:
00001B56 321F move.w D1, [A7]+
00001B58 201F move.l D0, [A7]+
00001B5A 48C1 ext.l D1
00001B5C 2F01 move.l -[A7], D1
00001B5E 2F00 move.l -[A7], D0
00001B60 4267 clr.w -[A7]
00001B62 2F0B move.l -[A7], A3
00001B64 A960 trap GetControlValue/GetCtlValue
00001B66 321F move.w D1, [A7]+
00001B68 201F move.l D0, [A7]+
00001B6A 9247 sub.w D1, D7
00001B6C 48C1 ext.l D1
00001B6E 2F01 move.l -[A7], D1
00001B70 4EBA E91E jsr [PC - 0x16E2 /* 00000490 */]
00001B74 221F move.l D1, [A7]+
00001B76 201F move.l D0, [A7]+
00001B78 9081 sub.l D0, D1
00001B7A 3F00 move.w -[A7], D0
00001B7C 4267 clr.w -[A7]
00001B7E 2053 movea.l A0, [A3]
00001B80 2068 0004 movea.l A0, [A0 + 0x4]
00001B84 2F28 023C move.l -[A7], [A0 + 0x23C]
00001B88 A9DD trap TEScroll
00001B8A 604A bra +0x4C /* 00001BD6 */
label00001B8C:
00001B8C 4267 clr.w -[A7]
00001B8E 2F0B move.l -[A7], A3
00001B90 A960 trap GetControlValue/GetCtlValue
00001B92 301F move.w D0, [A7]+
00001B94 48C0 ext.l D0
00001B96 2F00 move.l -[A7], D0
00001B98 42A7 clr.l -[A7]
label00001B9A:
00001B9A 2F00 move.l -[A7], D0
00001B9C 4267 clr.w -[A7]
00001B9E 2F0B move.l -[A7], A3
00001BA0 A962 trap GetControlMaximum/GetMaxCtl
00001BA2 321F move.w D1, [A7]+
00001BA4 201F move.l D0, [A7]+
00001BA6 48C1 ext.l D1
00001BA8 2F01 move.l -[A7], D1
00001BAA 2F00 move.l -[A7], D0
00001BAC 4267 clr.w -[A7]
00001BAE 2F0B move.l -[A7], A3
00001BB0 A960 trap GetControlValue/GetCtlValue
00001BB2 321F move.w D1, [A7]+
00001BB4 201F move.l D0, [A7]+
00001BB6 D247 add.w D1, D7
00001BB8 48C1 ext.l D1
00001BBA 2F01 move.l -[A7], D1
00001BBC 4EBA E8A0 jsr [PC - 0x1760 /* 0000045E */]
00001BC0 221F move.l D1, [A7]+
00001BC2 201F move.l D0, [A7]+
00001BC4 9081 sub.l D0, D1
00001BC6 3F00 move.w -[A7], D0
00001BC8 4267 clr.w -[A7]
00001BCA 2053 movea.l A0, [A3]
00001BCC 2068 0004 movea.l A0, [A0 + 0x4]
00001BD0 2F28 023C move.l -[A7], [A0 + 0x23C]
00001BD4 A9DD trap TEScroll
label00001BD6:
00001BD6 2053 movea.l A0, [A3]
00001BD8 2F28 0004 move.l -[A7], [A0 + 0x4]
00001BDC 4EAD 09AA jsr [A5 + 0x9AA]
00001BE0 4CDF 18C0 movem.l A4,A3,D7,D6, [A7]+
00001BE4 4E5E unlink A6
00001BE6 205F movea.l A0, [A7]+
00001BE8 5C4F addq.w A7, 6
00001BEA 4ED0 jmp [A0]
00001BEC 884D or.w D4, A5
00001BEE 5941 subq.w D1, 4
00001BF0 4354 chk.w D1, [A4]
00001BF2 494F chk.w D4, A7
00001BF4 4E00 .invalid // invalid opcode 4
00001BF6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_384: // at 00001BF8 (misaligned)
00001BFA FFCE .extension 0xFCE // unimplemented
00001BFC 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00001C00 266E 0008 movea.l A3, [A6 + 0x8]
00001C04 102E 000E move.b D0, [A6 + 0xE]
00001C08 802E 000C or.b D0, [A6 + 0xC]
00001C0C 6700 039E beq +0x3A0 /* 00001FAC */
00001C10 2053 movea.l A0, [A3]
00001C12 3F28 0020 move.w -[A7], [A0 + 0x20]
00001C16 486E FFEC pea.l [A6 - 0x14]
00001C1A 486E FFE8 pea.l [A6 - 0x18]
00001C1E 486E FFEA pea.l [A6 - 0x16]
00001C22 2F0B move.l -[A7], A3
00001C24 3F3C 0003 move.w -[A7], 0x3
00001C28 A83D trap TEDispatch
00001C2A 2053 movea.l A0, [A3]
00001C2C 4A68 003C tst.w [A0 + 0x3C]
00001C30 6624 bne +0x26 /* 00001C56 */
00001C32 302E FFE8 move.w D0, [A6 - 0x18]
00001C36 D068 0008 add.w D0, [A0 + 0x8]
00001C3A 5240 addq.w D0, 1
00001C3C 3D40 FFF8 move.w [A6 - 0x8], D0
00001C40 2053 movea.l A0, [A3]
00001C42 3028 000A move.w D0, [A0 + 0xA]
00001C46 5240 addq.w D0, 1
00001C48 3D40 FFFA move.w [A6 - 0x6], D0
00001C4C 2D6E FFF8 FFFC move.l [A6 - 0x4], [A6 - 0x8]
00001C52 6000 0122 bra +0x124 /* 00001D76 */
label00001C56:
00001C56 2053 movea.l A0, [A3]
00001C58 2248 movea.l A1, A0
00001C5A 3028 0020 move.w D0, [A0 + 0x20]
00001C5E B069 003C cmp.w D0, [A1 + 0x3C]
00001C62 6662 bne +0x64 /* 00001CC6 */
00001C64 2068 003E movea.l A0, [A0 + 0x3E]
00001C68 2253 movea.l A1, [A3]
00001C6A 3029 003C move.w D0, [A1 + 0x3C]
00001C6E 48C0 ext.l D0
00001C70 D090 add.l D0, [A0]
00001C72 5380 subq.l D0, 1
00001C74 2D40 FFCE move.l [A6 - 0x32], D0
00001C78 206E FFCE movea.l A0, [A6 - 0x32]
00001C7C 700D moveq.l D0, 0x0D
00001C7E B010 cmp.b D0, [A0]
00001C80 662E bne +0x30 /* 00001CB0 */
00001C82 42A7 clr.l -[A7]
00001C84 2053 movea.l A0, [A3]
00001C86 3028 0020 move.w D0, [A0 + 0x20]
00001C8A 5340 subq.w D0, 1
00001C8C 3F00 move.w -[A7], D0
00001C8E 2F0B move.l -[A7], A3
00001C90 3F3C 0008 move.w -[A7], 0x8
00001C94 A83D trap TEDispatch
00001C96 2D5F FFF8 move.l [A6 - 0x8], [A7]+
00001C9A 2053 movea.l A0, [A3]
00001C9C 3028 000A move.w D0, [A0 + 0xA]
00001CA0 5240 addq.w D0, 1
00001CA2 3D40 FFFA move.w [A6 - 0x6], D0
00001CA6 302E FFE8 move.w D0, [A6 - 0x18]
00001CAA D16E FFF8 add.w [A6 - 0x8], D0
00001CAE 602A bra +0x2C /* 00001CDA */
label00001CB0:
00001CB0 42A7 clr.l -[A7]
00001CB2 2053 movea.l A0, [A3]
00001CB4 3F28 0020 move.w -[A7], [A0 + 0x20]
00001CB8 2F0B move.l -[A7], A3
00001CBA 3F3C 0008 move.w -[A7], 0x8
00001CBE A83D trap TEDispatch
00001CC0 2D5F FFF8 move.l [A6 - 0x8], [A7]+
00001CC4 6014 bra +0x16 /* 00001CDA */
label00001CC6:
00001CC6 42A7 clr.l -[A7]
00001CC8 2053 movea.l A0, [A3]
00001CCA 3F28 0020 move.w -[A7], [A0 + 0x20]
00001CCE 2F0B move.l -[A7], A3
00001CD0 3F3C 0008 move.w -[A7], 0x8
00001CD4 A83D trap TEDispatch
00001CD6 2D5F FFF8 move.l [A6 - 0x8], [A7]+
label00001CDA:
00001CDA 2053 movea.l A0, [A3]
00001CDC 2248 movea.l A1, A0
00001CDE 3028 0022 move.w D0, [A0 + 0x22]
00001CE2 B069 0020 cmp.w D0, [A1 + 0x20]
00001CE6 660A bne +0xC /* 00001CF2 */
00001CE8 2D6E FFF8 FFFC move.l [A6 - 0x4], [A6 - 0x8]
00001CEE 6000 0086 bra +0x88 /* 00001D76 */
label00001CF2:
00001CF2 2053 movea.l A0, [A3]
00001CF4 2248 movea.l A1, A0
00001CF6 3028 0022 move.w D0, [A0 + 0x22]
00001CFA B069 003C cmp.w D0, [A1 + 0x3C]
00001CFE 6662 bne +0x64 /* 00001D62 */
00001D00 2068 003E movea.l A0, [A0 + 0x3E]
00001D04 2253 movea.l A1, [A3]
00001D06 3029 003C move.w D0, [A1 + 0x3C]
00001D0A 48C0 ext.l D0
00001D0C D090 add.l D0, [A0]
00001D0E 5380 subq.l D0, 1
00001D10 2D40 FFCE move.l [A6 - 0x32], D0
00001D14 206E FFCE movea.l A0, [A6 - 0x32]
00001D18 700D moveq.l D0, 0x0D
00001D1A B010 cmp.b D0, [A0]
00001D1C 662E bne +0x30 /* 00001D4C */
00001D1E 42A7 clr.l -[A7]
00001D20 2053 movea.l A0, [A3]
00001D22 3028 0022 move.w D0, [A0 + 0x22]
00001D26 5340 subq.w D0, 1
00001D28 3F00 move.w -[A7], D0
00001D2A 2F0B move.l -[A7], A3
00001D2C 3F3C 0008 move.w -[A7], 0x8
00001D30 A83D trap TEDispatch
00001D32 2D5F FFFC move.l [A6 - 0x4], [A7]+
00001D36 2053 movea.l A0, [A3]
00001D38 3028 000A move.w D0, [A0 + 0xA]
00001D3C 5240 addq.w D0, 1
00001D3E 3D40 FFFE move.w [A6 - 0x2], D0
00001D42 302E FFE8 move.w D0, [A6 - 0x18]
00001D46 D16E FFFC add.w [A6 - 0x4], D0
00001D4A 602A bra +0x2C /* 00001D76 */
label00001D4C:
00001D4C 42A7 clr.l -[A7]
00001D4E 2053 movea.l A0, [A3]
00001D50 3F28 0022 move.w -[A7], [A0 + 0x22]
00001D54 2F0B move.l -[A7], A3
00001D56 3F3C 0008 move.w -[A7], 0x8
00001D5A A83D trap TEDispatch
00001D5C 2D5F FFFC move.l [A6 - 0x4], [A7]+
00001D60 6014 bra +0x16 /* 00001D76 */
label00001D62:
00001D62 42A7 clr.l -[A7]
00001D64 2053 movea.l A0, [A3]
00001D66 3F28 0022 move.w -[A7], [A0 + 0x22]
00001D6A 2F0B move.l -[A7], A3
00001D6C 3F3C 0008 move.w -[A7], 0x8
00001D70 A83D trap TEDispatch
00001D72 2D5F FFFC move.l [A6 - 0x4], [A7]+
label00001D76:
00001D76 302E FFE8 move.w D0, [A6 - 0x18]
00001D7A 916E FFF8 sub.w [A6 - 0x8], D0
00001D7E 536E FFFA subq.w [A6 - 0x6], 1
00001D82 302E FFFC move.w D0, [A6 - 0x4]
00001D86 906E FFF8 sub.w D0, [A6 - 0x8]
00001D8A 2053 movea.l A0, [A3]
00001D8C 2248 movea.l A1, A0
00001D8E 3228 000C move.w D1, [A0 + 0xC]
00001D92 9269 0008 sub.w D1, [A1 + 0x8]
00001D96 B240 cmp.w D1, D0
00001D98 5CC0 sge D0
00001D9A 4400 neg.b D0
00001D9C 1D40 FFD3 move.b [A6 - 0x2D], D0
00001DA0 302E FFFE move.w D0, [A6 - 0x2]
00001DA4 906E FFFA sub.w D0, [A6 - 0x6]
00001DA8 6A02 bpl +0x4 /* 00001DAC */
00001DAA 4440 neg.w D0
label00001DAC:
00001DAC 2053 movea.l A0, [A3]
00001DAE 2248 movea.l A1, A0
00001DB0 3228 000E move.w D1, [A0 + 0xE]
00001DB4 9269 000A sub.w D1, [A1 + 0xA]
00001DB8 B240 cmp.w D1, D0
00001DBA 5CC0 sge D0
00001DBC 4400 neg.b D0
00001DBE 1D40 FFD2 move.b [A6 - 0x2E], D0
00001DC2 2053 movea.l A0, [A3]
00001DC4 49E8 0008 lea.l A4, [A0 + 0x8]
00001DC8 42A7 clr.l -[A7]
00001DCA 42A7 clr.l -[A7]
00001DCC 302E FFF8 move.w D0, [A6 - 0x8]
00001DD0 48C0 ext.l D0
00001DD2 2F00 move.l -[A7], D0
00001DD4 3014 move.w D0, [A4]
00001DD6 48C0 ext.l D0
00001DD8 2F00 move.l -[A7], D0
00001DDA 4EBA E6B4 jsr [PC - 0x194C /* 00000490 */]
00001DDE 302C 0004 move.w D0, [A4 + 0x4]
00001DE2 48C0 ext.l D0
00001DE4 2F00 move.l -[A7], D0
00001DE6 4EBA E676 jsr [PC - 0x198A /* 0000045E */]
00001DEA 201F move.l D0, [A7]+
00001DEC 3D40 FFE0 move.w [A6 - 0x20], D0
00001DF0 42A7 clr.l -[A7]
00001DF2 42A7 clr.l -[A7]
00001DF4 302E FFFC move.w D0, [A6 - 0x4]
00001DF8 48C0 ext.l D0
00001DFA 2F00 move.l -[A7], D0
00001DFC 3014 move.w D0, [A4]
00001DFE 48C0 ext.l D0
00001E00 2F00 move.l -[A7], D0
00001E02 4EBA E68C jsr [PC - 0x1974 /* 00000490 */]
00001E06 302C 0004 move.w D0, [A4 + 0x4]
00001E0A 48C0 ext.l D0
00001E0C 2F00 move.l -[A7], D0
00001E0E 4EBA E64E jsr [PC - 0x19B2 /* 0000045E */]
00001E12 201F move.l D0, [A7]+
00001E14 3D40 FFE2 move.w [A6 - 0x1E], D0
00001E18 42A7 clr.l -[A7]
00001E1A 42A7 clr.l -[A7]
00001E1C 42A7 clr.l -[A7]
00001E1E 302E FFFA move.w D0, [A6 - 0x6]
00001E22 48C0 ext.l D0
00001E24 2F00 move.l -[A7], D0
00001E26 302E FFFE move.w D0, [A6 - 0x2]
00001E2A 48C0 ext.l D0
00001E2C 2F00 move.l -[A7], D0
00001E2E 4EBA E62E jsr [PC - 0x19D2 /* 0000045E */]
00001E32 302C 0002 move.w D0, [A4 + 0x2]
00001E36 48C0 ext.l D0
00001E38 2F00 move.l -[A7], D0
00001E3A 4EBA E654 jsr [PC - 0x19AC /* 00000490 */]
00001E3E 302C 0006 move.w D0, [A4 + 0x6]
00001E42 48C0 ext.l D0
00001E44 2F00 move.l -[A7], D0
00001E46 4EBA E616 jsr [PC - 0x19EA /* 0000045E */]
00001E4A 201F move.l D0, [A7]+
00001E4C 3D40 FFDC move.w [A6 - 0x24], D0
00001E50 42A7 clr.l -[A7]
00001E52 42A7 clr.l -[A7]
00001E54 42A7 clr.l -[A7]
00001E56 302E FFFA move.w D0, [A6 - 0x6]
00001E5A 48C0 ext.l D0
00001E5C 2F00 move.l -[A7], D0
00001E5E 302E FFFE move.w D0, [A6 - 0x2]
00001E62 48C0 ext.l D0
00001E64 2F00 move.l -[A7], D0
00001E66 4EBA E628 jsr [PC - 0x19D8 /* 00000490 */]
00001E6A 302C 0002 move.w D0, [A4 + 0x2]
00001E6E 48C0 ext.l D0
00001E70 2F00 move.l -[A7], D0
00001E72 4EBA E61C jsr [PC - 0x19E4 /* 00000490 */]
00001E76 302C 0006 move.w D0, [A4 + 0x6]
00001E7A 48C0 ext.l D0
00001E7C 2F00 move.l -[A7], D0
00001E7E 4EBA E5DE jsr [PC - 0x1A22 /* 0000045E */]
00001E82 201F move.l D0, [A7]+
00001E84 3D40 FFDE move.w [A6 - 0x22], D0
00001E88 3A2E FFF8 move.w D5, [A6 - 0x8]
00001E8C 9A6E FFE0 sub.w D5, [A6 - 0x20]
00001E90 382E FFFC move.w D4, [A6 - 0x4]
00001E94 986E FFE2 sub.w D4, [A6 - 0x1E]
00001E98 42A7 clr.l -[A7]
00001E9A 302E FFFA move.w D0, [A6 - 0x6]
00001E9E 48C0 ext.l D0
00001EA0 2F00 move.l -[A7], D0
00001EA2 302E FFFE move.w D0, [A6 - 0x2]
00001EA6 48C0 ext.l D0
00001EA8 2F00 move.l -[A7], D0
00001EAA 4EBA E5B2 jsr [PC - 0x1A4E /* 0000045E */]
00001EAE 302E FFDC move.w D0, [A6 - 0x24]
00001EB2 48C0 ext.l D0
00001EB4 221F move.l D1, [A7]+
00001EB6 9280 sub.l D1, D0
00001EB8 3D41 FFD4 move.w [A6 - 0x2C], D1
00001EBC 42A7 clr.l -[A7]
00001EBE 302E FFFA move.w D0, [A6 - 0x6]
00001EC2 48C0 ext.l D0
00001EC4 2F00 move.l -[A7], D0
00001EC6 302E FFFE move.w D0, [A6 - 0x2]
00001ECA 48C0 ext.l D0
00001ECC 2F00 move.l -[A7], D0
00001ECE 4EBA E5C0 jsr [PC - 0x1A40 /* 00000490 */]
00001ED2 302E FFDE move.w D0, [A6 - 0x22]
00001ED6 48C0 ext.l D0
00001ED8 221F move.l D1, [A7]+
00001EDA 9280 sub.l D1, D0
00001EDC 3D41 FFD6 move.w [A6 - 0x2A], D1
00001EE0 102E FFD3 move.b D0, [A6 - 0x2D]
00001EE4 6718 beq +0x1A /* 00001EFE */
00001EE6 3005 move.w D0, D5
00001EE8 6A02 bpl +0x4 /* 00001EEC */
00001EEA 4440 neg.w D0
label00001EEC:
00001EEC 3204 move.w D1, D4
00001EEE 6A02 bpl +0x4 /* 00001EF2 */
00001EF0 4441 neg.w D1
label00001EF2:
00001EF2 B240 cmp.w D1, D0
00001EF4 6C04 bge +0x6 /* 00001EFA */
00001EF6 3C05 move.w D6, D5
00001EF8 601A bra +0x1C /* 00001F14 */
label00001EFA:
00001EFA 3C04 move.w D6, D4
00001EFC 6016 bra +0x18 /* 00001F14 */
label00001EFE:
00001EFE 3005 move.w D0, D5
00001F00 6A02 bpl +0x4 /* 00001F04 */
00001F02 4440 neg.w D0
label00001F04:
00001F04 3204 move.w D1, D4
00001F06 6A02 bpl +0x4 /* 00001F0A */
00001F08 4441 neg.w D1
label00001F0A:
00001F0A B240 cmp.w D1, D0
00001F0C 6F04 ble +0x6 /* 00001F12 */
00001F0E 3C05 move.w D6, D5
00001F10 6002 bra +0x4 /* 00001F14 */
label00001F12:
00001F12 3C04 move.w D6, D4
label00001F14:
00001F14 102E FFD2 move.b D0, [A6 - 0x2E]
00001F18 6720 beq +0x22 /* 00001F3A */
00001F1A 302E FFD4 move.w D0, [A6 - 0x2C]
00001F1E 6A02 bpl +0x4 /* 00001F22 */
00001F20 4440 neg.w D0
label00001F22:
00001F22 322E FFD6 move.w D1, [A6 - 0x2A]
00001F26 6A02 bpl +0x4 /* 00001F2A */
00001F28 4441 neg.w D1
label00001F2A:
00001F2A B240 cmp.w D1, D0
00001F2C 6C06 bge +0x8 /* 00001F34 */
00001F2E 3E2E FFD4 move.w D7, [A6 - 0x2C]
00001F32 6024 bra +0x26 /* 00001F58 */
label00001F34:
00001F34 3E2E FFD6 move.w D7, [A6 - 0x2A]
00001F38 601E bra +0x20 /* 00001F58 */
label00001F3A:
00001F3A 302E FFD4 move.w D0, [A6 - 0x2C]
00001F3E 6A02 bpl +0x4 /* 00001F42 */
00001F40 4440 neg.w D0
label00001F42:
00001F42 322E FFD6 move.w D1, [A6 - 0x2A]
00001F46 6A02 bpl +0x4 /* 00001F4A */
00001F48 4441 neg.w D1
label00001F4A:
00001F4A B240 cmp.w D1, D0
00001F4C 6F06 ble +0x8 /* 00001F54 */
00001F4E 3E2E FFD4 move.w D7, [A6 - 0x2C]
00001F52 6004 bra +0x6 /* 00001F58 */
label00001F54:
00001F54 3E2E FFD6 move.w D7, [A6 - 0x2A]
label00001F58:
00001F58 2853 movea.l A4, [A3]
00001F5A 302E FFFE move.w D0, [A6 - 0x2]
00001F5E 906C 0002 sub.w D0, [A4 + 0x2]
00001F62 322C 000E move.w D1, [A4 + 0xE]
00001F66 926C 000A sub.w D1, [A4 + 0xA]
00001F6A B240 cmp.w D1, D0
00001F6C 6D08 blt +0xA /* 00001F76 */
00001F6E 3E2C 0002 move.w D7, [A4 + 0x2]
00001F72 9E6C 000A sub.w D7, [A4 + 0xA]
label00001F76:
00001F76 102E 000C move.b D0, [A6 + 0xC]
00001F7A 6602 bne +0x4 /* 00001F7E */
00001F7C 4247 clr.w D7
label00001F7E:
00001F7E 102E 000E move.b D0, [A6 + 0xE]
00001F82 6602 bne +0x4 /* 00001F86 */
00001F84 4246 clr.w D6
label00001F86:
00001F86 4A46 tst.w D6
00001F88 56C0 sne D0
00001F8A 4A47 tst.w D7
00001F8C 56C1 sne D1
00001F8E 8001 or.b D0, D1
00001F90 671A beq +0x1C /* 00001FAC */
00001F92 3007 move.w D0, D7
00001F94 4440 neg.w D0
00001F96 3F00 move.w -[A7], D0
00001F98 3006 move.w D0, D6
00001F9A 4440 neg.w D0
00001F9C 3F00 move.w -[A7], D0
00001F9E 2F0B move.l -[A7], A3
00001FA0 A9DD trap TEScroll
00001FA2 2053 movea.l A0, [A3]
00001FA4 2F28 0052 move.l -[A7], [A0 + 0x52]
00001FA8 4EAD 09AA jsr [A5 + 0x9AA]
label00001FAC:
00001FAC 4CDF 18F0 movem.l A4,A3,D7,D6,D5,D4, [A7]+
00001FB0 4E5E unlink A6
00001FB2 205F movea.l A0, [A7]+
00001FB4 504F addq.w A7, 8
00001FB6 4ED0 jmp [A0]
00001FB8 8B4D 5954 pack -[A5], -[A5], 0x5954
00001FBC 4553 chk.w D2, [A3]
00001FBE 454C chk.w D2, A4
00001FC0 5649 addq.w A1, 3
00001FC2 4557 chk.w D2, [A7]
00001FC4 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_385: // at 00001FC6 (misaligned)
00001FC8 FFFE .extension 0xFFE // unimplemented
00001FCA 2F07 move.l -[A7], D7
00001FCC 4267 clr.w -[A7]
00001FCE 2F2D E85C move.l -[A7], [A5 - 0x17A4]
00001FD2 42A7 clr.l -[A7]
00001FD4 A924 trap FrontWindow
00001FD6 486D E6F0 pea.l [A5 - 0x1910]
00001FDA A96C trap FindControl
00001FDC 301F move.w D0, [A7]+
00001FDE 0440 0014 subi.w D0, 0x14
00001FE2 6714 beq +0x16 /* 00001FF8 */
00001FE4 5340 subq.w D0, 1
00001FE6 6710 beq +0x12 /* 00001FF8 */
00001FE8 5340 subq.w D0, 1
00001FEA 670C beq +0xE /* 00001FF8 */
00001FEC 5340 subq.w D0, 1
00001FEE 6708 beq +0xA /* 00001FF8 */
00001FF0 0440 006A subi.w D0, 0x6A /* 'j' */
00001FF4 6716 beq +0x18 /* 0000200C */
00001FF6 6050 bra +0x52 /* 00002048 */
label00001FF8:
00001FF8 4267 clr.w -[A7]
00001FFA 2F2D E6F0 move.l -[A7], [A5 - 0x1910]
00001FFE 2F2D E85C move.l -[A7], [A5 - 0x17A4]
00002002 487A FAD6 pea.l [PC - 0x52A /* 00001ADA */]
00002006 A968 trap TrackControl
00002008 3E1F move.w D7, [A7]+
0000200A 603C bra +0x3E /* 00002048 */
label0000200C:
0000200C 4267 clr.w -[A7]
0000200E 2F2D E6F0 move.l -[A7], [A5 - 0x1910]
00002012 A960 trap GetControlValue/GetCtlValue
00002014 3E1F move.w D7, [A7]+
00002016 4267 clr.w -[A7]
00002018 2F2D E6F0 move.l -[A7], [A5 - 0x1910]
0000201C 2F2D E85C move.l -[A7], [A5 - 0x17A4]
00002020 42A7 clr.l -[A7]
00002022 A968 trap TrackControl
00002024 4A5F tst.w [A7]+
00002026 6720 beq +0x22 /* 00002048 */
00002028 4267 clr.w -[A7]
0000202A 2F2D E6F0 move.l -[A7], [A5 - 0x1910]
0000202E A960 trap GetControlValue/GetCtlValue
00002030 3007 move.w D0, D7
00002032 905F sub.w D0, [A7]+
00002034 3F00 move.w -[A7], D0
00002036 4267 clr.w -[A7]
00002038 206D E6F0 movea.l A0, [A5 - 0x1910]
0000203C 2050 movea.l A0, [A0]
0000203E 2068 0004 movea.l A0, [A0 + 0x4]
00002042 2F28 023C move.l -[A7], [A0 + 0x23C]
00002046 A9DD trap TEScroll
label00002048:
00002048 2E1F move.l D7, [A7]+
0000204A 4E5E unlink A6
0000204C 4E75 rts
0000204E 9853 sub.w D4, [A3]
00002050 5441 addq.w D1, 2
00002052 4E44 trap 4
00002054 4152 chk.w D0, [A2]
00002056 4448 neg.w A0
00002058 4F52 chk.w D7, [A2]
0000205A 495A chk.w D4, [A2]+
0000205C 4F4E chk.w D7, A6
0000205E 5441 addq.w D1, 2
00002060 4C53 4352 movem.l A6,A1,A0,D6,D4,D1, [A3]
00002064 4F4C chk.w D7, A4
00002066 4C00 0000 movem.w <none>, D0
0000206A 4E56 FE68 link A6, -0x0198
0000206E 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00002072 3D6E 000C 000E move.w [A6 + 0xE], [A6 + 0xC]
00002078 7001 moveq.l D0, 0x01
0000207A B06E 000C cmp.w D0, [A6 + 0xC]
0000207E 57C0 seq D0
00002080 2F00 move.l -[A7], D0
00002082 42A7 clr.l -[A7]
00002084 41ED EEB0 lea.l A0, [A5 - 0x1150]
00002088 1F10 move.b -[A7], [A0]
0000208A 3F3C 00FF move.w -[A7], 0xFF
0000208E 4EAD 0F22 jsr [A5 + 0xF22]
00002092 2F08 move.l -[A7], A0
00002094 4EAD 0ADA jsr [A5 + 0xADA]
00002098 221F move.l D1, [A7]+
0000209A 201F move.l D0, [A7]+
0000209C 4A81 tst.l D1
0000209E 57C1 seq D1
000020A0 C001 and.b D0, D1
000020A2 676A beq +0x6C /* 0000210E */
000020A4 49EE FE78 lea.l A4, [A6 - 0x188]
000020A8 7E01 moveq.l D7, 0x01
000020AA 6006 bra +0x8 /* 000020B2 */
label000020AC:
000020AC 4214 clr.b [A4]
000020AE 528C addq.l A4, 1
000020B0 5247 addq.w D7, 1
label000020B2:
000020B2 707A moveq.l D0, 0x7A
000020B4 B047 cmp.w D0, D7
000020B6 6CF4 bge -0xA /* 000020AC */
000020B8 267C 0000 0214 movea.l A3, 0x214
000020BE 3013 move.w D0, [A3]
000020C0 4440 neg.w D0
000020C2 3D40 FE8E move.w [A6 - 0x172], D0
000020C6 41ED EEB0 lea.l A0, [A5 - 0x1150]
000020CA 2D48 FE8A move.l [A6 - 0x176], A0
000020CE 426E FE94 clr.w [A6 - 0x16C]
000020D2 2C3C 0000 0398 move.l D6, 0x398
000020D8 2046 movea.l A0, D6
000020DA 2D50 FEA8 move.l [A6 - 0x158], [A0]
000020DE 7000 moveq.l D0, 0x00
000020E0 2D40 FE84 move.l [A6 - 0x17C], D0
000020E4 4267 clr.w -[A7]
000020E6 486E FE78 pea.l [A6 - 0x188]
000020EA 4267 clr.w -[A7]
000020EC 4EAD 03F2 jsr [A5 + 0x3F2]
000020F0 3A1F move.w D5, [A7]+
000020F2 4267 clr.w -[A7]
000020F4 486E FE96 pea.l [A6 - 0x16A]
000020F8 42A7 clr.l -[A7]
000020FA A85D trap BitTst
000020FC 101F move.b D0, [A7]+
000020FE 670E beq +0x10 /* 0000210E */
00002100 3F3C 001C move.w -[A7], 0x1C
00002104 4EAD 04FA jsr [A5 + 0x4FA]
00002108 3D7C 0064 000E move.w [A6 + 0xE], 0x64 /* 'd' */
label0000210E:
0000210E 4CDF 18E0 movem.l A4,A3,D7,D6,D5, [A7]+
00002112 4E5E unlink A6
00002114 205F movea.l A0, [A7]+
00002116 5C4F addq.w A7, 6
00002118 4ED0 jmp [A0]
0000211A 8F4D 5947 pack -[A7], -[A5], 0x5947
0000211E 4554 chk.w D2, [A4]
00002120 4449 neg.w A1
00002122 414C chk.w D0, A4
00002124 4F47 chk.w D7, D7
00002126 484F pea.l A7
00002128 4F4B chk.w D7, A3
0000212A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_386: // at 0000212C (misaligned)
0000212E FEE0 .extension 0xEE0 // unimplemented
00002130 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002134 206E 000C movea.l A0, [A6 + 0xC]
00002138 43EE FF00 lea.l A1, [A6 - 0x100]
0000213C 703F moveq.l D0, 0x3F
label0000213E:
0000213E 22D8 move.l [A1]+, [A0]+
00002140 51C8 FFFC dbf D0, -0x6 /* 0000213E */
00002144 3D7C 004B FEFE move.w [A6 - 0x102], 0x4B /* 'K' */
0000214A 3D6E 0010 FEFC move.w [A6 - 0x104], [A6 + 0x10]
00002150 2D7C 5445 5854 FEE0 move.l [A6 - 0x120], 0x54455854 /* 'TEXT' */
00002158 0C6D 0700 FDAC cmpi.w [A5 - 0x254], 0x700
0000215E 6C46 bge +0x48 /* 000021A6 */
00002160 486E FEF4 pea.l [A6 - 0x10C]
00002164 A874 trap GetPort
00002166 206E FEF4 movea.l A0, [A6 - 0x10C]
0000216A 49E8 0008 lea.l A4, [A0 + 0x8]
0000216E 3E2C 0006 move.w D7, [A4 + 0x6]
00002172 9E6C 0002 sub.w D7, [A4 + 0x2]
00002176 42A7 clr.l -[A7]
00002178 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
0000217E 3F3C F060 move.w -[A7], 0xF060
00002182 A9A0 trap GetResource
00002184 265F movea.l A3, [A7]+
00002186 2053 movea.l A0, [A3]
00002188 49D0 lea.l A4, [A0]
0000218A 3C2C 0006 move.w D6, [A4 + 0x6]
0000218E 9C6C 0002 sub.w D6, [A4 + 0x2]
00002192 3007 move.w D0, D7
00002194 9046 sub.w D0, D6
00002196 48C0 ext.l D0
00002198 81FC 0002 divs.w D0, 0x2
0000219C 3D40 FEFE move.w [A6 - 0x102], D0
000021A0 3D6E 0010 FEFC move.w [A6 - 0x104], [A6 + 0x10]
label000021A6:
000021A6 2F2E FEFC move.l -[A7], [A6 - 0x104]
000021AA 41EE FF00 lea.l A0, [A6 - 0x100]
000021AE 1F10 move.b -[A7], [A0]
000021B0 3F3C 00FF move.w -[A7], 0xFF
000021B4 4EAD 0F22 jsr [A5 + 0xF22]
000021B8 2F08 move.l -[A7], A0
000021BA 42A7 clr.l -[A7]
000021BC 3F3C 0001 move.w -[A7], 0x1
000021C0 486E FEE0 pea.l [A6 - 0x120]
000021C4 487A FEA4 pea.l [PC - 0x15C /* 0000206A */]
000021C8 486D EEA6 pea.l [A5 - 0x115A]
000021CC 3F3C 0002 move.w -[A7], 0x2
000021D0 A9EA trap Pack3
000021D2 206E 0008 movea.l A0, [A6 + 0x8]
000021D6 43ED EEA6 lea.l A1, [A5 - 0x115A]
000021DA 7011 moveq.l D0, 0x11
label000021DC:
000021DC 20D9 move.l [A0]+, [A1]+
000021DE 51C8 FFFC dbf D0, -0x6 /* 000021DC */
000021E2 3091 move.w [A0], [A1]
000021E4 4CDF 18C0 movem.l A4,A3,D7,D6, [A7]+
000021E8 4E5E unlink A6
000021EA 205F movea.l A0, [A7]+
000021EC DEFC 000A add.w A7, 0xA /* '\n' */
000021F0 4ED0 jmp [A0]
000021F2 9343 subx.w D1, D3
000021F4 454E chk.w D2, A6
000021F6 5452 addq.w [A2], 2
000021F8 4553 chk.w D2, [A3]
000021FA 4647 not.w D7
000021FC 4554 chk.w D2, [A4]
000021FE 5445 addq.w D5, 2
00002200 5854 addq.w [A4], 4
00002202 4649 not.w A1
00002204 4C45 0000 movem.l <none>, D5
00002208 4E56 FE68 link A6, -0x0198
0000220C 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002210 3D6E 000C 000E move.w [A6 + 0xE], [A6 + 0xC]
00002216 7001 moveq.l D0, 0x01
00002218 B06E 000C cmp.w D0, [A6 + 0xC]
0000221C 6600 00F4 bne +0xF6 /* 00002312 */
00002220 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002224 3F3C 0007 move.w -[A7], 0x7
00002228 486E FFFE pea.l [A6 - 0x2]
0000222C 486E FFFA pea.l [A6 - 0x6]
00002230 486E FFF2 pea.l [A6 - 0xE]
00002234 A98D trap GetDialogItem/GetDItem
00002236 2F2E FFFA move.l -[A7], [A6 - 0x6]
0000223A 486E FEF2 pea.l [A6 - 0x10E]
0000223E A990 trap GetDialogItemText/GetIText
00002240 49EE FE78 lea.l A4, [A6 - 0x188]
00002244 7E01 moveq.l D7, 0x01
00002246 6006 bra +0x8 /* 0000224E */
label00002248:
00002248 4214 clr.b [A4]
0000224A 528C addq.l A4, 1
0000224C 5247 addq.w D7, 1
label0000224E:
0000224E 707A moveq.l D0, 0x7A
00002250 B047 cmp.w D0, D7
00002252 6CF4 bge -0xA /* 00002248 */
00002254 267C 0000 0214 movea.l A3, 0x214
0000225A 3013 move.w D0, [A3]
0000225C 4440 neg.w D0
0000225E 3D40 FE8E move.w [A6 - 0x172], D0
00002262 41EE FEF2 lea.l A0, [A6 - 0x10E]
00002266 2D48 FE8A move.l [A6 - 0x176], A0
0000226A 426E FE94 clr.w [A6 - 0x16C]
0000226E 2C3C 0000 0398 move.l D6, 0x398
00002274 2046 movea.l A0, D6
00002276 2D50 FEA8 move.l [A6 - 0x158], [A0]
0000227A 7000 moveq.l D0, 0x00
0000227C 2D40 FE84 move.l [A6 - 0x17C], D0
00002280 4267 clr.w -[A7]
00002282 486E FE78 pea.l [A6 - 0x188]
00002286 4267 clr.w -[A7]
00002288 4EAD 03F2 jsr [A5 + 0x3F2]
0000228C 4A5F tst.w [A7]+
0000228E 6600 0082 bne +0x84 /* 00002312 */
00002292 102D EEA5 move.b D0, [A5 - 0x115B]
00002296 0A00 0001 xori.b D0, 0x1
0000229A 322D EEA2 move.w D1, [A5 - 0x115E]
0000229E B26E FE90 cmp.w D1, [A6 - 0x170]
000022A2 56C1 sne D1
000022A4 8001 or.b D0, D1
000022A6 2F00 move.l -[A7], D0
000022A8 4267 clr.w -[A7]
000022AA 486E FE96 pea.l [A6 - 0x16A]
000022AE 42A7 clr.l -[A7]
000022B0 A85D trap BitTst
000022B2 121F move.b D1, [A7]+
000022B4 201F move.l D0, [A7]+
000022B6 C001 and.b D0, D1
000022B8 2F00 move.l -[A7], D0
000022BA 4267 clr.w -[A7]
000022BC 486E FE96 pea.l [A6 - 0x16A]
000022C0 7207 moveq.l D1, 0x07
000022C2 2F01 move.l -[A7], D1
000022C4 A85D trap BitTst
000022C6 121F move.b D1, [A7]+
000022C8 201F move.l D0, [A7]+
000022CA 8001 or.b D0, D1
000022CC 223C 5445 5854 move.l D1, 0x54455854 /* 'TEXT' */
000022D2 B2AE FE98 cmp.l D1, [A6 - 0x168]
000022D6 56C1 sne D1
000022D8 8001 or.b D0, D1
000022DA 322D EEA2 move.w D1, [A5 - 0x115E]
000022DE B26E FE90 cmp.w D1, [A6 - 0x170]
000022E2 57C1 seq D1
000022E4 48E7 C000 movem.l -[A7], D0,D1
000022E8 4267 clr.w -[A7]
000022EA 486E FE96 pea.l [A6 - 0x16A]
000022EE 7407 moveq.l D2, 0x07
000022F0 2F02 move.l -[A7], D2
000022F2 A85D trap BitTst
000022F4 141F move.b D2, [A7]+
000022F6 4CDF 0003 movem.l D1,D0, [A7]+
000022FA C202 and.b D1, D2
000022FC 8001 or.b D0, D1
000022FE 0240 0001 andi.w D0, 0x1
00002302 670E beq +0x10 /* 00002312 */
00002304 3F3C 001D move.w -[A7], 0x1D
00002308 4EAD 04FA jsr [A5 + 0x4FA]
0000230C 3D7C 0064 000E move.w [A6 + 0xE], 0x64 /* 'd' */
label00002312:
00002312 4CDF 18C0 movem.l A4,A3,D7,D6, [A7]+
00002316 4E5E unlink A6
00002318 205F movea.l A0, [A7]+
0000231A 5C4F addq.w A7, 6
0000231C 4ED0 jmp [A0]
0000231E 8F4D 5950 pack -[A7], -[A5], 0x5950
00002322 5554 subq.w [A4], 2
00002324 4449 neg.w A1
00002326 414C chk.w D0, A4
00002328 4F47 chk.w D7, D7
0000232A 484F pea.l A7
0000232C 4F4B chk.w D7, A3
0000232E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_387: // at 00002330 (misaligned)
00002332 FDF0 .extension 0xDF0 // unimplemented
00002334 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002338 206E 0014 movea.l A0, [A6 + 0x14]
0000233C 43EE FF00 lea.l A1, [A6 - 0x100]
00002340 703F moveq.l D0, 0x3F
label00002342:
00002342 22D8 move.l [A1]+, [A0]+
00002344 51C8 FFFC dbf D0, -0x6 /* 00002342 */
00002348 206E 0010 movea.l A0, [A6 + 0x10]
0000234C 43EE FE00 lea.l A1, [A6 - 0x200]
00002350 703F moveq.l D0, 0x3F
label00002352:
00002352 22D8 move.l [A1]+, [A0]+
00002354 51C8 FFFC dbf D0, -0x6 /* 00002352 */
00002358 1B6E 000E EEA5 move.b [A5 - 0x115B], [A6 + 0xE]
0000235E 3B6E 000C EEA2 move.w [A5 - 0x115E], [A6 + 0xC]
00002364 3D7C 004B FDFE move.w [A6 - 0x202], 0x4B /* 'K' */
0000236A 3D6E 0018 FDFC move.w [A6 - 0x204], [A6 + 0x18]
00002370 0C6D 0700 FDAC cmpi.w [A5 - 0x254], 0x700
00002376 6C46 bge +0x48 /* 000023BE */
00002378 486E FDF4 pea.l [A6 - 0x20C]
0000237C A874 trap GetPort
0000237E 206E FDF4 movea.l A0, [A6 - 0x20C]
00002382 49E8 0008 lea.l A4, [A0 + 0x8]
00002386 3E2C 0006 move.w D7, [A4 + 0x6]
0000238A 9E6C 0002 sub.w D7, [A4 + 0x2]
0000238E 42A7 clr.l -[A7]
00002390 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
00002396 3F3C F061 move.w -[A7], 0xF061
0000239A A9A0 trap GetResource
0000239C 265F movea.l A3, [A7]+
0000239E 2053 movea.l A0, [A3]
000023A0 49D0 lea.l A4, [A0]
000023A2 3C2C 0006 move.w D6, [A4 + 0x6]
000023A6 9C6C 0002 sub.w D6, [A4 + 0x2]
000023AA 3007 move.w D0, D7
000023AC 9046 sub.w D0, D6
000023AE 48C0 ext.l D0
000023B0 81FC 0002 divs.w D0, 0x2
000023B4 3D40 FDFE move.w [A6 - 0x202], D0
000023B8 3D6E 0018 FDFC move.w [A6 - 0x204], [A6 + 0x18]
label000023BE:
000023BE 2F2E FDFC move.l -[A7], [A6 - 0x204]
000023C2 41EE FF00 lea.l A0, [A6 - 0x100]
000023C6 1F10 move.b -[A7], [A0]
000023C8 3F3C 00FF move.w -[A7], 0xFF
000023CC 4EAD 0F22 jsr [A5 + 0xF22]
000023D0 2F08 move.l -[A7], A0
000023D2 41EE FE00 lea.l A0, [A6 - 0x200]
000023D6 1F10 move.b -[A7], [A0]
000023D8 3F3C 00FF move.w -[A7], 0xFF
000023DC 4EAD 0F22 jsr [A5 + 0xF22]
000023E0 2F08 move.l -[A7], A0
000023E2 487A FE24 pea.l [PC - 0x1DC /* 00002208 */]
000023E6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000023EA 3F3C 0001 move.w -[A7], 0x1
000023EE A9EA trap Pack3
000023F0 4CDF 18C0 movem.l A4,A3,D7,D6, [A7]+
000023F4 4E5E unlink A6
000023F6 205F movea.l A0, [A7]+
000023F8 DEFC 0012 add.w A7, 0x12
000023FC 4ED0 jmp [A0]
000023FE 8F43 454E pack D7, D3, 0x454E
00002402 5452 addq.w [A2], 2
00002404 4553 chk.w D2, [A3]
00002406 4650 not.w [A0]
00002408 5554 subq.w [A4], 2
0000240A 4649 not.w A1
0000240C 4C45 0000 movem.l <none>, D5
export_388:
00002410 4E56 FFF4 link A6, -0x000C
00002414 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002418 0C6D 0700 FDAC cmpi.w [A5 - 0x254], 0x700
0000241E 6C4C bge +0x4E /* 0000246C */
00002420 486E FFF8 pea.l [A6 - 0x8]
00002424 A874 trap GetPort
00002426 42A7 clr.l -[A7]
00002428 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
0000242E 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002432 A9A0 trap GetResource
00002434 265F movea.l A3, [A7]+
00002436 2F0B move.l -[A7], A3
00002438 205F movea.l A0, [A7]+
0000243A A04A trap HNoPurge
0000243C 206E FFF8 movea.l A0, [A6 - 0x8]
00002440 49E8 0008 lea.l A4, [A0 + 0x8]
00002444 3C2C 0006 move.w D6, [A4 + 0x6]
00002448 9C6C 0002 sub.w D6, [A4 + 0x2]
0000244C 2053 movea.l A0, [A3]
0000244E 49D0 lea.l A4, [A0]
00002450 3E2C 0006 move.w D7, [A4 + 0x6]
00002454 9E6C 0002 sub.w D7, [A4 + 0x2]
00002458 3006 move.w D0, D6
0000245A 9047 sub.w D0, D7
0000245C 48C0 ext.l D0
0000245E 81FC 0002 divs.w D0, 0x2
00002462 3940 0002 move.w [A4 + 0x2], D0
00002466 D047 add.w D0, D7
00002468 3940 0006 move.w [A4 + 0x6], D0
label0000246C:
0000246C 4CDF 18C0 movem.l A4,A3,D7,D6, [A7]+
00002470 4E5E unlink A6
00002472 205F movea.l A0, [A7]+
00002474 544F addq.w A7, 2
00002476 4ED0 jmp [A0]
00002478 8A43 or.w D5, D3
0000247A 454E chk.w D2, A6
0000247C 5452 addq.w [A2], 2
0000247E 4544 chk.w D2, D4
00002480 4C4F 4700 movem.l A6,A2,A1,A0, A7
00002484 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_389: // at 00002486 (misaligned)
00002488 FFD4 .extension 0xFD4 // unimplemented
0000248A 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000248E 422E 000C clr.b [A6 + 0xC]
00002492 42A7 clr.l -[A7]
00002494 42A7 clr.l -[A7]
00002496 A11A trap GetZone, flags=1
00002498 2E88 move.l [A7], A0
0000249A 205F movea.l A0, [A7]+
0000249C 2F10 move.l -[A7], [A0]
0000249E 4EAD 04A2 jsr [A5 + 0x4A2]
000024A2 42A7 clr.l -[A7]
000024A4 42A7 clr.l -[A7]
000024A6 A11A trap GetZone, flags=1
000024A8 2E88 move.l [A7], A0
000024AA 4EAD 04A2 jsr [A5 + 0x4A2]
000024AE 201F move.l D0, [A7]+
000024B0 221F move.l D1, [A7]+
000024B2 9280 sub.l D1, D0
000024B4 2F01 move.l -[A7], D1
000024B6 2F3C 0000 0400 move.l -[A7], 0x400
000024BC 4EAD 0F1A jsr [A5 + 0xF1A]
000024C0 2A1F move.l D5, [A7]+
000024C2 42A7 clr.l -[A7]
000024C4 42A7 clr.l -[A7]
000024C6 2F3C 0001 0082 move.l -[A7], 0x10082
000024CC 4EBA DDEC jsr [PC - 0x2214 /* 000002BA */]
000024D0 42A7 clr.l -[A7]
000024D2 2F3C 0002 0082 move.l -[A7], 0x20082
000024D8 4EBA DDE0 jsr [PC - 0x2220 /* 000002BA */]
000024DC 2F05 move.l -[A7], D5
000024DE 4EAD 0F12 jsr [A5 + 0xF12]
000024E2 2F3C 0000 0400 move.l -[A7], 0x400
000024E8 4EAD 0F1A jsr [A5 + 0xF1A]
000024EC 4EBA DFA2 jsr [PC - 0x205E /* 00000490 */]
000024F0 2B5F EFF6 move.l [A5 - 0x100A], [A7]+
000024F4 42A7 clr.l -[A7]
000024F6 42A7 clr.l -[A7]
000024F8 2F3C 0003 0082 move.l -[A7], 0x30082
000024FE 4EBA DDBA jsr [PC - 0x2246 /* 000002BA */]
00002502 42A7 clr.l -[A7]
00002504 2F3C 0004 0082 move.l -[A7], 0x40082
0000250A 4EBA DDAE jsr [PC - 0x2252 /* 000002BA */]
0000250E 2F05 move.l -[A7], D5
00002510 4EAD 0F12 jsr [A5 + 0xF12]
00002514 2F3C 0000 0400 move.l -[A7], 0x400
0000251A 4EAD 0F1A jsr [A5 + 0xF1A]
0000251E 4EBA DF70 jsr [PC - 0x2090 /* 00000490 */]
00002522 2B5F EFFA move.l [A5 - 0x1006], [A7]+
00002526 42A7 clr.l -[A7]
00002528 42A7 clr.l -[A7]
0000252A 2F3C 0005 0082 move.l -[A7], 0x50082
00002530 4EBA DD88 jsr [PC - 0x2278 /* 000002BA */]
00002534 42A7 clr.l -[A7]
00002536 2F3C 0006 0082 move.l -[A7], 0x60082
0000253C 4EBA DD7C jsr [PC - 0x2284 /* 000002BA */]
00002540 2F05 move.l -[A7], D5
00002542 4EAD 0F12 jsr [A5 + 0xF12]
00002546 2F3C 0000 0400 move.l -[A7], 0x400
0000254C 4EAD 0F1A jsr [A5 + 0xF1A]
00002550 4EBA DF3E jsr [PC - 0x20C2 /* 00000490 */]
00002554 2B5F EFFE move.l [A5 - 0x1002], [A7]+
00002558 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000255C 2F3C 0000 0400 move.l -[A7], 0x400
00002562 4EAD 0F1A jsr [A5 + 0xF1A]
00002566 202D EFFA move.l D0, [A5 - 0x1006]
0000256A D0AD EFF6 add.l D0, [A5 - 0x100A]
0000256E 222D EFFE move.l D1, [A5 - 0x1002]
00002572 D280 add.l D1, D0
00002574 201F move.l D0, [A7]+
00002576 9081 sub.l D0, D1
00002578 2D40 FFF4 move.l [A6 - 0xC], D0
0000257C 42A7 clr.l -[A7]
0000257E 2F3C 0007 0082 move.l -[A7], 0x70082
00002584 4EBA DD34 jsr [PC - 0x22CC /* 000002BA */]
00002588 42A7 clr.l -[A7]
0000258A 2F3C 0008 0082 move.l -[A7], 0x80082
00002590 4EBA DD28 jsr [PC - 0x22D8 /* 000002BA */]
00002594 201F move.l D0, [A7]+
00002596 D09F add.l D0, [A7]+
00002598 2F00 move.l -[A7], D0
0000259A 42A7 clr.l -[A7]
0000259C 2F3C 0009 0082 move.l -[A7], 0x90082
000025A2 4EBA DD16 jsr [PC - 0x22EA /* 000002BA */]
000025A6 221F move.l D1, [A7]+
000025A8 201F move.l D0, [A7]+
000025AA D280 add.l D1, D0
000025AC 2F01 move.l -[A7], D1
000025AE 42A7 clr.l -[A7]
000025B0 2F3C 000A 0082 move.l -[A7], 0xA0082
000025B6 4EBA DD02 jsr [PC - 0x22FE /* 000002BA */]
000025BA 201F move.l D0, [A7]+
000025BC 221F move.l D1, [A7]+
000025BE D081 add.l D0, D1
000025C0 2D40 FFF8 move.l [A6 - 0x8], D0
000025C4 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000025C8 2F3C 0000 0400 move.l -[A7], 0x400
000025CE 4EAD 0F12 jsr [A5 + 0xF12]
000025D2 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000025D6 4EAD 0F1A jsr [A5 + 0xF1A]
000025DA 2C1F move.l D6, [A7]+
000025DC 0C86 0000 0400 cmpi.l D6, 0x400
000025E2 6D00 0164 blt +0x166 /* 00002748 */
000025E6 1D7C 0001 000C move.b [A6 + 0xC], 0x1
000025EC 42A7 clr.l -[A7]
000025EE 2F3C 0007 0082 move.l -[A7], 0x70082
000025F4 4EBA DCC4 jsr [PC - 0x233C /* 000002BA */]
000025F8 2F06 move.l -[A7], D6
000025FA 4EAD 0F12 jsr [A5 + 0xF12]
000025FE 2F3C 0000 0400 move.l -[A7], 0x400
00002604 4EAD 0F1A jsr [A5 + 0xF1A]
00002608 2B5F F002 move.l [A5 - 0xFFE], [A7]+
0000260C 42A7 clr.l -[A7]
0000260E 2F3C 0008 0082 move.l -[A7], 0x80082
00002614 4EBA DCA4 jsr [PC - 0x235C /* 000002BA */]
00002618 2F06 move.l -[A7], D6
0000261A 4EAD 0F12 jsr [A5 + 0xF12]
0000261E 2F3C 0000 0400 move.l -[A7], 0x400
00002624 4EAD 0F1A jsr [A5 + 0xF1A]
00002628 2B5F F006 move.l [A5 - 0xFFA], [A7]+
0000262C 42A7 clr.l -[A7]
0000262E 2F3C 0009 0082 move.l -[A7], 0x90082
00002634 4EBA DC84 jsr [PC - 0x237C /* 000002BA */]
00002638 2F06 move.l -[A7], D6
0000263A 4EAD 0F12 jsr [A5 + 0xF12]
0000263E 2F3C 0000 0400 move.l -[A7], 0x400
00002644 4EAD 0F1A jsr [A5 + 0xF1A]
00002648 2B5F F00A move.l [A5 - 0xFF6], [A7]+
0000264C 42A7 clr.l -[A7]
0000264E 2F3C 000A 0082 move.l -[A7], 0xA0082
00002654 4EBA DC64 jsr [PC - 0x239C /* 000002BA */]
00002658 2F06 move.l -[A7], D6
0000265A 4EAD 0F12 jsr [A5 + 0xF12]
0000265E 2F3C 0000 0400 move.l -[A7], 0x400
00002664 4EAD 0F1A jsr [A5 + 0xF1A]
00002668 2B5F F00E move.l [A5 - 0xFF2], [A7]+
0000266C 202D EFFE move.l D0, [A5 - 0x1002]
00002670 D0AD EFFA add.l D0, [A5 - 0x1006]
00002674 222D F002 move.l D1, [A5 - 0xFFE]
00002678 D280 add.l D1, D0
0000267A 202D F006 move.l D0, [A5 - 0xFFA]
0000267E D081 add.l D0, D1
00002680 222D F00A move.l D1, [A5 - 0xFF6]
00002684 D280 add.l D1, D0
00002686 202D F00E move.l D0, [A5 - 0xFF2]
0000268A D081 add.l D0, D1
0000268C 2B40 F012 move.l [A5 - 0xFEE], D0
00002690 42A7 clr.l -[A7]
00002692 2F2D EFFE move.l -[A7], [A5 - 0x1002]
00002696 2F3C 0000 0400 move.l -[A7], 0x400
0000269C 4EAD 0F12 jsr [A5 + 0xF12]
000026A0 42A7 clr.l -[A7]
000026A2 2F3C 000B 0082 move.l -[A7], 0xB0082
000026A8 4EBA DC10 jsr [PC - 0x23F0 /* 000002BA */]
000026AC 4EAD 0F12 jsr [A5 + 0xF12]
000026B0 2F3C 0000 0190 move.l -[A7], 0x190
000026B6 4EAD 0F1A jsr [A5 + 0xF1A]
000026BA 4EAD 03C2 jsr [A5 + 0x3C2]
000026BE 285F movea.l A4, [A7]+
000026C0 42A7 clr.l -[A7]
000026C2 2F0C move.l -[A7], A4
000026C4 4EAD 03CA jsr [A5 + 0x3CA]
000026C8 201F move.l D0, [A7]+
000026CA 5380 subq.l D0, 1
000026CC 2D40 FFD8 move.l [A6 - 0x28], D0
000026D0 7E01 moveq.l D7, 0x01
000026D2 604C bra +0x4E /* 00002720 */
label000026D4:
000026D4 264C movea.l A3, A4
000026D6 D7C7 add.l A3, D7
000026D8 4A13 tst.b [A3]
000026DA 6640 bne +0x42 /* 0000271C */
000026DC 42A7 clr.l -[A7]
000026DE 2F0C move.l -[A7], A4
000026E0 4EAD 03CA jsr [A5 + 0x3CA]
000026E4 2007 move.l D0, D7
000026E6 5280 addq.l D0, 1
000026E8 2F00 move.l -[A7], D0
000026EA 4EAD 0F1A jsr [A5 + 0xF1A]
000026EE 2D5F FFD4 move.l [A6 - 0x2C], [A7]+
000026F2 7802 moveq.l D4, 0x02
000026F4 6020 bra +0x22 /* 00002716 */
label000026F6:
000026F6 2007 move.l D0, D7
000026F8 5280 addq.l D0, 1
000026FA 2F04 move.l -[A7], D4
000026FC 2F00 move.l -[A7], D0
000026FE 4EAD 0F12 jsr [A5 + 0xF12]
00002702 201F move.l D0, [A7]+
00002704 D08C add.l D0, A4
00002706 2640 movea.l A3, D0
00002708 97FC 0000 0001 sub.l A3, 0x1
0000270E 16BC 0001 move.b [A3], 0x1
00002712 5284 addq.l D4, 1
00002714 6906 bvs +0x8 /* 0000271C */
label00002716:
00002716 B8AE FFD4 cmp.l D4, [A6 - 0x2C]
0000271A 6FDA ble -0x24 /* 000026F6 */
label0000271C:
0000271C 5287 addq.l D7, 1
0000271E 6906 bvs +0x8 /* 00002726 */
label00002720:
00002720 BEAE FFD8 cmp.l D7, [A6 - 0x28]
00002724 6FAE ble -0x50 /* 000026D4 */
label00002726:
00002726 42A7 clr.l -[A7]
00002728 2F0C move.l -[A7], A4
0000272A 4EAD 03CA jsr [A5 + 0x3CA]
0000272E 2E1F move.l D7, [A7]+
label00002730:
00002730 5387 subq.l D7, 1
00002732 264C movea.l A3, A4
00002734 D7C7 add.l A3, D7
00002736 4A13 tst.b [A3]
00002738 66F6 bne -0x8 /* 00002730 */
0000273A 2007 move.l D0, D7
0000273C 5280 addq.l D0, 1
0000273E 2B40 EFF2 move.l [A5 - 0x100E], D0
00002742 2F0C move.l -[A7], A4
00002744 205F movea.l A0, [A7]+
00002746 A01F trap DisposPtr/DisposePtr
label00002748:
00002748 4CDF 18F0 movem.l A4,A3,D7,D6,D5,D4, [A7]+
0000274C 4E5E unlink A6
0000274E 2E9F move.l [A7], [A7]+
00002750 4E75 rts
00002752 9A43 sub.w D5, D3
00002754 414C chk.w D0, A4
00002756 4355 chk.w D1, [A5]
00002758 4C41 5445 movem.l A6,A4,A2,D6,D2,D0, D1
0000275C 4D45 chk.w D6, D5
0000275E 4D4F chk.w D6, A7
00002760 5259 addq.w [A1]+, 1
00002762 414C chk.w D0, A4
00002764 4C4F 4341 movem.l A6,A1,A0,D6,D0, A7
00002768 5449 addq.w A1, 2
0000276A 4F4E chk.w D7, A6
0000276C 5300 subq.b D0, 1
0000276E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_390: // at 00002770 (misaligned)
00002772 0000 4E5E ori.b D0, 0x5E /* '^' */
00002776 4E75 rts
00002778 904C sub.w D0, A4
0000277A 415A chk.w D0, [A2]+
0000277C 594D subq.w A5, 4
0000277E 5F49 subq.w A1, 7
00002780 4E49 trap 9
00002782 5449 addq.w A1, 2
00002784 414C chk.w D0, A4
00002786 4953 chk.w D4, [A3]
00002788 4500 .invalid 2, D0 // invalid opcode 4 with b == 4
0000278A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_391: // at 0000278C (misaligned)
0000278E 0000 4E5E ori.b D0, 0x5E /* '^' */
00002792 4E75 rts
00002794 904C sub.w D0, A4
00002796 415A chk.w D0, [A2]+
00002798 594D subq.w A5, 4
0000279A 5F4B subq.w A3, 7
0000279C 4953 chk.w D4, [A3]
0000279E 5342 subq.w D2, 1
000027A0 5945 subq.w D5, 4
000027A2 4259 clr.w [A1]+
000027A4 4500 .invalid 2, D0 // invalid opcode 4 with b == 4
000027A6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_392: // at 000027A8 (misaligned)
000027AA FFFE .extension 0xFFE // unimplemented
000027AC 426E FFFE clr.w [A6 - 0x2]
000027B0 102D EFF1 move.b D0, [A5 - 0x100F]
000027B4 671C beq +0x1E /* 000027D2 */
000027B6 206E 0008 movea.l A0, [A6 + 0x8]
000027BA 2F08 move.l -[A7], A0
000027BC 42A7 clr.l -[A7]
000027BE 2F2E 000C move.l -[A7], [A6 + 0xC]
000027C2 486E FFFE pea.l [A6 - 0x2]
000027C6 3F3C 001D move.w -[A7], 0x1D
000027CA A88F trap OSDispatch
000027CC 201F move.l D0, [A7]+
000027CE 205F movea.l A0, [A7]+
000027D0 2080 move.l [A0], D0
label000027D2:
000027D2 4A6E FFFE tst.w [A6 - 0x2]
000027D6 56C0 sne D0
000027D8 122D EFF1 move.b D1, [A5 - 0x100F]
000027DC 0A01 0001 xori.b D1, 0x1
000027E0 8001 or.b D0, D1
000027E2 0240 0001 andi.w D0, 0x1
000027E6 6720 beq +0x22 /* 00002808 */
000027E8 206E 0008 movea.l A0, [A6 + 0x8]
000027EC 2F08 move.l -[A7], A0
000027EE 42A7 clr.l -[A7]
000027F0 2F2E 000C move.l -[A7], [A6 + 0xC]
000027F4 4EAD 03D2 jsr [A5 + 0x3D2]
000027F8 201F move.l D0, [A7]+
000027FA 205F movea.l A0, [A7]+
000027FC 2080 move.l [A0], D0
000027FE 4267 clr.w -[A7]
00002800 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00002804 3D5F FFFE move.w [A6 - 0x2], [A7]+
label00002808:
00002808 3D6E FFFE 0010 move.w [A6 + 0x10], [A6 - 0x2]
0000280E 4E5E unlink A6
00002810 205F movea.l A0, [A7]+
00002812 504F addq.w A7, 8
00002814 4ED0 jmp [A0]
00002816 8F4C 415A pack -[A7], -[A4], 0x415A
0000281A 594D subq.w A5, 4
0000281C 5F4E subq.w A6, 7
0000281E 4557 chk.w D2, [A7]
00002820 4841 swap.w D1
00002822 4E44 trap 4
00002824 4C45 0000 movem.l <none>, D5
export_393:
00002828 4E56 0000 link A6, 0
0000282C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002830 205F movea.l A0, [A7]+
00002832 A023 trap DisposHandle/DisposeHandle
00002834 4267 clr.w -[A7]
00002836 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000283A 3D5F 000C move.w [A6 + 0xC], [A7]+
0000283E 4E5E unlink A6
00002840 2E9F move.l [A7], [A7]+
00002842 4E75 rts
00002844 924C sub.w D1, A4
00002846 415A chk.w D0, [A2]+
00002848 594D subq.w A5, 4
0000284A 5F44 subq.w D4, 7
0000284C 4953 chk.w D4, [A3]
0000284E 504F addq.w A7, 8
00002850 5348 subq.w A0, 1
00002852 414E chk.w D0, A6
00002854 444C neg.w A4
00002856 4500 .invalid 2, D0 // invalid opcode 4 with b == 4
00002858 0000 .incomplete